Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

TcpListener Constructor

Initializes a new instance of the TcpListener class.

Name Description
TcpListener (Int32) Initializes a new instance of the TcpListener class that listens on the specified port.

Supported by the .NET Compact Framework.

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

Supported by the .NET Compact Framework.

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.

Supported by the .NET Compact Framework.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2015 Microsoft