Function SocketBind() Professional
Associates a local address with a socket.
SocketBind( <nSocket> , ;
[<nAddressFamily>], ;
<xLocalAddress , ;
<nPort> , ;
[@<nError>] ) --> lSuccess
The function returns .T. (true) if the socket is bound successfully, otherwise .F. (false) is returned.
A socket is created without a name. Unless a name is bound to a socket, there is no way for other processes to reference it and, as a consequence, no data may be received on it. SocketBind() binds an unconnected stream or datagram socket to a name so that the local part of a socket association is defined.
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.