AsyncConnectSocket (open)
Asynchronously connect a TCP/IP socket to an IP address and/or a port
Syntax
LOADLIB "wh::internet/tcpip.whlib";
OBJECT FUNCTION AsyncConnectSocket(INTEGER connectionid, STRING host, INTEGER port)
Parameters
INTEGER connectionid
Connection ID to bind
STRING host
IP address to connect to
INTEGER port
Port to connect to
Return value
OBJECT
A promise which resolves to TRUE on a succesful connect, FALSE on failure