Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
© 2017 Microsoft