1 out of 1 rated this helpful - Rate this topic

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.

  Name Description
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
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.