Connects to a remote listening socket.
Returns 1 if connection was successfully made, 0 otherwise.
|Address||Param1 should be set to the TCP/IP address. This may be a DNS address or IP number.|
|Port||The port through which to make the connection. This must match the port on which the remote socket is listening.|
The CONNECT service is the first thing you call to make the connection. The Object parameter is an output parameter and will be set to the new connection's handle if it succeeds. Thereafter, you will pass that handle to other services to send data and close the socket.