Export (0) Print
Expand All

Socket.Connect Method

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
Public method Connect(EndPoint) Establishes a connection to a remote host.
Public method Connect(IPAddress, Int32) Establishes a connection to a remote host. The host is specified by an IP address and a port number.
Public method Connect(IPAddress[], Int32) Establishes a connection to a remote host. The host is specified by an array of IP addresses and a port number.
Public method Connect(String, Int32) Establishes a connection to a remote host. The host is specified by a host name and a port number.
Top
Show:
© 2014 Microsoft