System::Net::Sockets::TcpClient::Connect Methode
Inhalt
[
Ausblenden
]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)
| Parameter | Typ | Beschreibung |
|---|---|---|
| hostname | String | Ein Remote-Hostname zum Verbinden. |
| port | int32_t | Ein Port des Remote-Hosts zum Verbinden. |
Siehe auch
- Class String
- Class TcpClient
- Namespace System::Net::Sockets
- Library Aspose.Font for C++
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)
| Parameter | Typ | Beschreibung |
|---|---|---|
| ipAddresses | System::ArrayPtr<System::SharedPtr<IPAddress>> | Die IP-Adressen eines Remote-Hosts. |
| port | int32_t | Ein Port des Remote-Hosts zum Verbinden. |
Siehe auch
- Typedef ArrayPtr
- Typedef SharedPtr
- Class IPAddress
- Class TcpClient
- Namespace System::Net::Sockets
- Library Aspose.Font for C++
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)
| Parameter | Typ | Beschreibung |
|---|---|---|
| address | System::SharedPtr<IPAddress> | Die IP-Adresse eines Remote-Hosts. |
| port | int32_t | Ein Port des Remote-Hosts zum Verbinden. |
Siehe auch
- Typedef SharedPtr
- Class IPAddress
- Class TcpClient
- Namespace System::Net::Sockets
- Library Aspose.Font for C++
TcpClient::Connect(System::SharedPtr<IPEndPoint>) method
Stellt eine Verbindung zum angegebenen Remote-Host her.
void System::Net::Sockets::TcpClient::Connect(System::SharedPtr<IPEndPoint> remoteEP)
| Parameter | Typ | Beschreibung |
|---|---|---|
| remoteEP | System::SharedPtr<IPEndPoint> | Ein Remote-Host zum Verbinden. |
Siehe auch
- Typedef SharedPtr
- Class IPEndPoint
- Class TcpClient
- Namespace System::Net::Sockets
- Library Aspose.Font for C++