Socket.Connect Method
.NET Framework 4
Establishes a connection to a remote host.
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(EndPoint) | Establishes a connection to a remote host. |
|
Connect(IPAddress, Int32) | Establishes a connection to a remote host. The host is specified by an IP address and a port number. |
|
Connect(IPAddress[], Int32) | Establishes a connection to a remote host. The host is specified by an array of IP addresses and a port number. |
|
Connect(String, Int32) | Establishes a connection to a remote host. The host is specified by a host name and a port number. |