Visual Basic: Winsock Control
Visual Studio 6.0
Requests a connection to a remote computer.
object.Connect remoteHost, remotePort
The Connect method syntax has these parts:
|object||An object expression that evaluates to an object in the Applies To list.|
|remoteHost||Required. The name of the remote computer to connect to.|
|remotePort||The port of the remote computer to connect to.|
You must invoke the Connect method when attempting to establish a TCP connection.