TcpListener Constructor
.NET Framework (current version)
Initializes a new instance of the TcpListener class.
Assembly: System (in System.dll)
| Name | Description | |
|---|---|---|
![]() | TcpListener(Int32) | Obsolete. Initializes a new instance of the TcpListener class that listens on the specified port. |
![]() | TcpListener(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. |
![]() | TcpListener(IPEndPoint^) | Initializes a new instance of the TcpListener class with the specified local endpoint. |
Show:
