Socket::Connect Method

 

Establishes a connection to a remote host.

Namespace:   System.Net.Sockets
Assembly:  System (in System.dll)

NameDescription
System_CAPS_pubmethodConnect(EndPoint^)

Establishes a connection to a remote host.

System_CAPS_pubmethodConnect(IPAddress^, Int32)

Establishes a connection to a remote host. The host is specified by an IP address and a port number.

System_CAPS_pubmethodConnect(array<IPAddress^>^, Int32)

Establishes a connection to a remote host. The host is specified by an array of IP addresses and a port number.

System_CAPS_pubmethodConnect(String^, Int32)

Establishes a connection to a remote host. The host is specified by a host name and a port number.

Return to top
Show: