Export (0) Print
Expand All

TcpClient.ConnectAsync Method

.NET Framework 4.5

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

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method ConnectAsync(IPAddress, Int32) Connects the client to a remote TCP host using the specified IP address and port number as an asynchronous operation.
Public method ConnectAsync(IPAddress[], Int32) Connects the client to a remote TCP host using the specified IP addresses and port number as an asynchronous operation.
Public method ConnectAsync(String, Int32) Connects the client to the specified TCP port on the specified host as an asynchronous operation.
Top
Show:
© 2014 Microsoft