System::Net::Sockets::TcpClient::Connect método
Contenido
[
Ocultar
]TcpClient::Connect(String, int32_t) method
Establece una conexión con el host remoto especificado.
void System::Net::Sockets::TcpClient::Connect(String hostname, int32_t port)
| Parámetro | Tipo | Descripción |
|---|---|---|
| hostname | String | Un nombre de host remoto al que conectar. |
| puerto | int32_t | Un puerto del host remoto al que conectar. |
Ver también
- Class String
- Class TcpClient
- Namespace System::Net::Sockets
- Library Aspose.Page for C++
TcpClient::Connect(System::ArrayPtr<System::SharedPtr<IPAddress>>, int32_t) method
Establece una conexión con el host remoto especificado.
void System::Net::Sockets::TcpClient::Connect(System::ArrayPtr<System::SharedPtr<IPAddress>> ipAddresses, int32_t port)
| Parámetro | Tipo | Descripción |
|---|---|---|
| ipAddresses | System::ArrayPtr<System::SharedPtr<IPAddress>> | Las direcciones IP de un host remoto. |
| puerto | int32_t | Un puerto del host remoto al que conectar. |
Ver también
- Typedef ArrayPtr
- Typedef SharedPtr
- Class IPAddress
- Class TcpClient
- Namespace System::Net::Sockets
- Library Aspose.Page for C++
TcpClient::Connect(System::SharedPtr<IPAddress>, int32_t) method
Establece una conexión con el host remoto especificado.
void System::Net::Sockets::TcpClient::Connect(System::SharedPtr<IPAddress> address, int32_t port)
| Parámetro | Tipo | Descripción |
|---|---|---|
| dirección | System::SharedPtr<IPAddress> | La dirección IP de un host remoto. |
| puerto | int32_t | Un puerto del host remoto al que conectar. |
Ver también
- Typedef SharedPtr
- Class IPAddress
- Class TcpClient
- Namespace System::Net::Sockets
- Library Aspose.Page for C++
TcpClient::Connect(System::SharedPtr<IPEndPoint>) method
Establece una conexión con el host remoto especificado.
void System::Net::Sockets::TcpClient::Connect(System::SharedPtr<IPEndPoint> remoteEP)
| Parámetro | Tipo | Descripción |
|---|---|---|
| remoteEP | System::SharedPtr<IPEndPoint> | Un host remoto para conectar. |
Ver también
- Typedef SharedPtr
- Class IPEndPoint
- Class TcpClient
- Namespace System::Net::Sockets
- Library Aspose.Page for C++