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 );
This constructor is the same as calling the default constructor and then calling Connect.
TCPClient Class | TCPClient Members | System.Net.Sockets Namespace | TCPClient Constructor Overload List