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.

  Name Description
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
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft