WINSOCK CONNECT
This will create a new channel that uses TCP, and then connect to the specified host using the specified port.
You should check if the connection has been established by using WINSOCK CHANNEL ERROR.
If its result is 0, then you successfully connected to your remote host, and can now begin to send data using WINSOCK SEND MESSAGE.
The return value is a Dword, denoting the channel that has been created. You will need it for further access to that channel.
SYNTAX
Return Dword=WINSOCK CONNECT(host_name as String, host_port as Integer)
RELATED INFO
WINSOCK command menu
Index
EXAMPLE
Showcase-example 1
Showcase-example 2