This documentation is archived and is not being maintained.

TcpListener Constructor

Initializes a new instance of the TcpListener class.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method TcpListener(Int32) Obsolete. Initializes a new instance of the TcpListener class that listens on the specified port.
Public method TcpListener(IPEndPoint) Initializes a new instance of the TcpListener class with the specified local endpoint.
Public method 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.
Top
Show: