Connect

This method requests a connection to the host specified in the RemoteHost property of the Winsock control.

Syntax

winsock.Connect

Parameters

winsock
Name of a Winsock control.

Return Value

None

Remarks

Connect uses the values of the RemoteHost and RemotePort properties to determine which host and port to use when establishing a TCP/IP connection. You must set those properties before attempting to initiate a connection.