System::Net::Sockets::TcpClient::Connect metodo
Contenuti
[
Nascondere
]TcpClient::Connect(String, int32_t) method
Stabilisce una connessione all’host remoto specificato.
void System::Net::Sockets::TcpClient::Connect(String hostname, int32_t port)
| Parametro | Tipo | Descrizione |
|---|---|---|
| nome host | Stringa | Un nome host remoto a cui connettersi. |
| porta | int32_t | Una porta dell’host remoto a cui connettersi. |
Vedi anche
- Class String
- Class TcpClient
- Namespace System::Net::Sockets
- Library Aspose.Font for C++
TcpClient::Connect(System::ArrayPtr<System::SharedPtr<IPAddress>>, int32_t) method
Stabilisce una connessione all’host remoto specificato.
void System::Net::Sockets::TcpClient::Connect(System::ArrayPtr<System::SharedPtr<IPAddress>> ipAddresses, int32_t port)
| Parametro | Tipo | Descrizione |
|---|---|---|
| indirizzi IP | System::ArrayPtr<System::SharedPtr<IPAddress>> | Gli indirizzi IP di un host remoto. |
| porta | int32_t | Una porta dell’host remoto a cui connettersi. |
Vedi anche
- 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
Stabilisce una connessione all’host remoto specificato.
void System::Net::Sockets::TcpClient::Connect(System::SharedPtr<IPAddress> address, int32_t port)
| Parametro | Tipo | Descrizione |
|---|---|---|
| indirizzo | System::SharedPtr<IPAddress> | L’indirizzo IP di un host remoto. |
| porta | int32_t | Una porta dell’host remoto a cui connettersi. |
Vedi anche
- Typedef SharedPtr
- Class IPAddress
- Class TcpClient
- Namespace System::Net::Sockets
- Library Aspose.Font for C++
TcpClient::Connect(System::SharedPtr<IPEndPoint>) method
Stabilisce una connessione all’host remoto specificato.
void System::Net::Sockets::TcpClient::Connect(System::SharedPtr<IPEndPoint> remoteEP)
| Parametro | Tipo | Descrizione |
|---|---|---|
| remoteEP | System::SharedPtr<IPEndPoint> | Un host remoto a cui connettersi. |
Vedi anche
- Typedef SharedPtr
- Class IPEndPoint
- Class TcpClient
- Namespace System::Net::Sockets
- Library Aspose.Font for C++