Function SocketConnect() Professional
Connects a socket to a peer.
SocketConnect( <nSocket> , ;
[<nAddressFamily>], ;
<xRemoteAddress> , ;
<nPort> , ;
[@<nError>] ) --> lSuccess
The function returns .T. (true) if the socket is successfully connected, otherwise .F. (false) is returned.
This function establishes a connection to a remote process or computer. The parameter <nSocket> specifies a local, unconnected datagram or stream socket. If the socket is not bound, the operating system assigns unique values to it, and then marks the socket as bound. When the connection is successful, data can be sent or received via this socket.
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.