TcpClient.ConnectAsync Method

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Connects the client to a remote TCP host using the specified host name and port number as an asynchronous operation.

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

NameDescription
System_CAPS_pubmethodConnectAsync(IPAddress, Int32)

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

System_CAPS_pubmethodConnectAsync(IPAddress[], Int32)

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

System_CAPS_pubmethodConnectAsync(String, Int32)

Connects the client to the specified TCP port on the specified host as an asynchronous operation.

Return to top
Show: