TcpClient Constructor
.NET Framework 4
Initializes a new instance of the TcpClient class.
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
| Name | Description | |
|---|---|---|
|
TcpClient() | Initializes a new instance of the TcpClient class. |
|
TcpClient(AddressFamily) | Initializes a new instance of the TcpClient class with the specified family. |
|
TcpClient(IPEndPoint) | Initializes a new instance of the TcpClient class and binds it to the specified local endpoint. |
|
TcpClient(String, Int32) | Initializes a new instance of the TcpClient class and connects to the specified port on the specified host. |