Function SocketListen() Professional
Establishes a socket to listen for an incoming connection.
SocketListen( <nServerSocket>, ;
[<nBackLog>] , ;
[@<nError>] ) --> lSuccess
The function returns .T. (true) when the socket entered the listening state, otherwise .F. (false) is returned.
This function is used on the server side of a communication channel. It turns a socket into listening mode so that it can accept incoming communication requests from client stations. The function SocketAccept() must then be called by the server process to respond to SocketConnect() calls ocurring in client processes. SocketConnect() puts a connection request into the queue on the server side where is is retrieved from with SocketAccept().
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.