NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

TCPListener Constructor

Initializes a new instance of the TCPListener class.

Overload List

Initializes a new instance of the TCPListener class with the specified local end point.

[Visual Basic] Overloads Public Sub New(IPEndPoint)
[C#] public TCPListener(IPEndPoint);
[C++] public: TCPListener(IPEndPoint*);
[JScript] public function TCPListener(IPEndPoint);

Initializes a new instance of the TCPListener class that listens to the specified IP address and port.

[Visual Basic] Overloads Public Sub New(IPAddress, Integer)
[C#] public TCPListener(IPAddress, int);
[C++] public: TCPListener(IPAddress*, int);
[JScript] public function TCPListener(IPAddress, int);

Initiailizes a new instance of the TCPListener class that listens on the specified port.

[Visual Basic] Overloads Public Sub New(Integer)
[C#] public TCPListener(int);
[C++] public: TCPListener(int);
[JScript] public function TCPListener(int);

See Also

TCPListener Class | TCPListener Members | System.Net.Sockets Namespace