Export (0) Print
Expand All

TcpClient.Connect Method

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

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

  NameDescription
Public method Connect(IPEndPoint) Connects the client to a remote TCP host using the specified remote network endpoint.
Public method Connect(IPAddress, Int32) Connects the client to a remote TCP host using the specified IP address and port number.
Public method Connect(IPAddress[], Int32) Connects the client to a remote TCP host using the specified IP addresses and port number.
Public method Connect(String, Int32) Connects the client to the specified port on the specified host.
Top

Community Additions

ADD
Show:
© 2014 Microsoft