Socket.Connect Method
.NET Framework 2.0
Establishes a connection to a remote host.
| Name | Description |
|---|---|
| Socket.Connect (EndPoint) | Establishes a connection to a remote host. Supported by the .NET Compact Framework. |
| Socket.Connect (IPAddress, Int32) | Establishes a connection to a remote host. The host is specified by an IP address and a port number. |
| Socket.Connect (IPAddress[], Int32) | Establishes a connection to a remote host. The host is specified by an array of IP addresses and a port number. |
| Socket.Connect (String, Int32) | Establishes a connection to a remote host. The host is specified by a host name and a port number. |