socket.connect
Opens a socket. The method creates a socket and establishes a connection to the host and port specified in the host and port fields of the socket structure.
method uint socket.connect()
Return value
If the function succeeds, the return value is 1. If the function fails, the return value is 0.
Related links | Source |