TcpClient Constructor

 

Initializes a new instance of the TcpClient class.

Namespace:   System.Net.Sockets
Assembly:  System (in System.dll)

NameDescription
System_CAPS_pubmethodTcpClient()

Initializes a new instance of the TcpClient class.

System_CAPS_pubmethodTcpClient(AddressFamily)

Initializes a new instance of the TcpClient class with the specified family.

System_CAPS_pubmethodTcpClient(IPEndPoint)

Initializes a new instance of the TcpClient class and binds it to the specified local endpoint.

System_CAPS_pubmethodTcpClient(String, Int32)

Initializes a new instance of the TcpClient class and connects to the specified port on the specified host.

Return to top
Show: