TcpClient::Connect Method
.NET Framework (current version)
Connects the client to a remote TCP host using the specified host name and port number.
Assembly: System (in System.dll)
| Name | Description | |
|---|---|---|
![]() | Connect(IPAddress^, Int32) | Connects the client to a remote TCP host using the specified IP address and port number. |
![]() | Connect(array<IPAddress^>^, Int32) | Connects the client to a remote TCP host using the specified IP addresses and port number. |
![]() | Connect(IPEndPoint^) | Connects the client to a remote TCP host using the specified remote network endpoint. |
![]() | Connect(String^, Int32) | Connects the client to the specified port on the specified host. |
Show:
