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!

TCPClient Constructor

Initializes a new instance of the TCPClient class.

Overload List

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

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

Initializes a new instance of the TCPClient class.

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

Initializes a new instance of the TCPClient class and connects to the specified port on the specified host.

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

See Also

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