TcpClient.Connect Method
.NET Framework 4.5
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 | |
|---|---|---|
|
Connect(IPEndPoint) | Connects the client to a remote TCP host using the specified remote network endpoint. |
|
Connect(IPAddress, Int32) | Connects the client to a remote TCP host using the specified IP address and port number. |
|
Connect(IPAddress[], Int32) | Connects the client to a remote TCP host using the specified IP addresses and port number. |
|
Connect(String, Int32) | Connects the client to the specified port on the specified host. |