System::Net::Sockets::TcpClient::Connect Methode

TcpClient::Connect(String, int32_t) method

Stellt eine Verbindung zum angegebenen Remote-Host her.

void System::Net::Sockets::TcpClient::Connect(String hostname, int32_t port)
ParameterTypBeschreibung
hostnameStringEin Remote-Hostname zum Verbinden.
portint32_tEin Port des Remote-Hosts zum Verbinden.

Siehe auch

TcpClient::Connect(System::ArrayPtr<System::SharedPtr<IPAddress>>, int32_t) method

Stellt eine Verbindung zum angegebenen Remote-Host her.

void System::Net::Sockets::TcpClient::Connect(System::ArrayPtr<System::SharedPtr<IPAddress>> ipAddresses, int32_t port)
ParameterTypBeschreibung
ipAddressesSystem::ArrayPtr<System::SharedPtr<IPAddress>>Die IP-Adressen eines Remote-Hosts.
portint32_tEin Port des Remote-Hosts zum Verbinden.

Siehe auch

TcpClient::Connect(System::SharedPtr<IPAddress>, int32_t) method

Stellt eine Verbindung zum angegebenen Remote-Host her.

void System::Net::Sockets::TcpClient::Connect(System::SharedPtr<IPAddress> address, int32_t port)
ParameterTypBeschreibung
addressSystem::SharedPtr<IPAddress>Die IP-Adresse eines Remote-Hosts.
portint32_tEin Port des Remote-Hosts zum Verbinden.

Siehe auch

TcpClient::Connect(System::SharedPtr<IPEndPoint>) method

Stellt eine Verbindung zum angegebenen Remote-Host her.

void System::Net::Sockets::TcpClient::Connect(System::SharedPtr<IPEndPoint> remoteEP)
ParameterTypBeschreibung
remoteEPSystem::SharedPtr<IPEndPoint>Ein Remote-Host zum Verbinden.

Siehe auch