Metodo System::Net::Sockets::Socket::Connect
Contenuti
[
Nascondere
]Socket::Connect(String, int32_t) method
Stabilisce una connessione all’endpoint remoto specificato.
void System::Net::Sockets::Socket::Connect(String host, int32_t port)
| Parametro | Tipo | Descrizione |
|---|---|---|
| host | Stringa | Il nome host remoto. |
| porta | int32_t | Il numero di porta dell’host remoto. |
Vedi anche
- Class String
- Class Socket
- Namespace System::Net::Sockets
- Library Aspose.Font for C++
Socket::Connect(System::ArrayPtr<System::SharedPtr<IPAddress>>, int32_t) method
Stabilisce una connessione all’endpoint remoto specificato.
void System::Net::Sockets::Socket::Connect(System::ArrayPtr<System::SharedPtr<IPAddress>> addresses, int32_t port)
| Parametro | Tipo | Descrizione |
|---|---|---|
| addresses | System::ArrayPtr<System::SharedPtr<IPAddress>> | Gli indirizzi IP dell’host remoto. |
| porta | int32_t | Il numero di porta dell’host remoto. |
Vedi anche
- Typedef ArrayPtr
- Typedef SharedPtr
- Class IPAddress
- Class Socket
- Namespace System::Net::Sockets
- Library Aspose.Font for C++
Socket::Connect(System::SharedPtr<EndPoint>) method
Stabilisce una connessione all’endpoint remoto specificato.
void System::Net::Sockets::Socket::Connect(System::SharedPtr<EndPoint> remoteEP)
| Parametro | Tipo | Descrizione |
|---|---|---|
| remoteEP | System::SharedPtr<EndPoint> | L’endpoint remoto. |
Vedi anche
- Typedef SharedPtr
- Class EndPoint
- Class Socket
- Namespace System::Net::Sockets
- Library Aspose.Font for C++
Socket::Connect(System::SharedPtr<IPAddress>, int32_t) method
Stabilisce una connessione all’endpoint remoto specificato.
void System::Net::Sockets::Socket::Connect(System::SharedPtr<IPAddress> address, int32_t port)
| Parametro | Tipo | Descrizione |
|---|---|---|
| indirizzo | System::SharedPtr<IPAddress> | L’indirizzo IP dell’host remoto. |
| porta | int32_t | Il numero di porta dell’host remoto. |
Vedi anche
- Typedef SharedPtr
- Class IPAddress
- Class Socket
- Namespace System::Net::Sockets
- Library Aspose.Font for C++