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 (String, Int32)

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

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

Parameters

hostname
The remote host to connect.
port
[To be supplied.]

Remarks

This constructor is the same as calling the default constructor and then calling Connect.

See Also

TCPClient Class | TCPClient Members | System.Net.Sockets Namespace | TCPClient Constructor Overload List