TcpClient.Connect Method

 

Connects the client to a remote TCP host using the specified host name and port number.

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

NameDescription
System_CAPS_pubmethodConnect(IPAddress, Int32)

Connects the client to a remote TCP host using the specified IP address and port number.

System_CAPS_pubmethodConnect(IPAddress[], Int32)

Connects the client to a remote TCP host using the specified IP addresses and port number.

System_CAPS_pubmethodConnect(IPEndPoint)

Connects the client to a remote TCP host using the specified remote network endpoint.

System_CAPS_pubmethodConnect(String, Int32)

Connects the client to the specified port on the specified host.

Return to top
Show: