Socket::Connect Method
.NET Framework (current version)
Establishes a connection to a remote host.
Assembly: System (in System.dll)
| Name | Description | |
|---|---|---|
![]() | Connect(EndPoint^) | Establishes a connection to a remote host. |
![]() | Connect(IPAddress^, Int32) | Establishes a connection to a remote host. The host is specified by an IP address and a port number. |
![]() | Connect(array<IPAddress^>^, Int32) | Establishes a connection to a remote host. The host is specified by an array of IP addresses and a port number. |
![]() | Connect(String^, Int32) | Establishes a connection to a remote host. The host is specified by a host name and a port number. |
Show:
