ConnectSocket (open)
Connect a TCP/IP socket to an IP address and/or a port
Syntax
LOADLIB "wh::internet/tcpip.whlib";
BOOLEAN FUNCTION ConnectSocket(INTEGER connectionid, STRING host, INTEGER port)Parameters
INTEGER connectionidConnection ID to bind
STRING hostIP address to connect to
INTEGER portPort to connect to
Return value
BOOLEANTRUE on a succesful connect, FALSE on failure