TcpListener Constructor

 

Initializes a new instance of the TcpListener class.

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

NameDescription
System_CAPS_pubmethodTcpListener(Int32)

Obsolete. Initializes a new instance of the TcpListener class that listens on the specified port.

System_CAPS_pubmethodTcpListener(IPAddress, Int32)

Initializes a new instance of the TcpListener class that listens for incoming connection attempts on the specified local IP address and port number.

System_CAPS_pubmethodTcpListener(IPEndPoint)

Initializes a new instance of the TcpListener class with the specified local endpoint.

Return to top
Show: