Function SocketGetMessage() Professional
Retrieves a message from a socket.
SocketGetMessage( <nSocket> , ; @<nCommand>, ; @<cMessage> ) --> lSuccess
The function returns .T. (true) if the message is received successfully, otherwise .F. (false) is returned.
SocketGetMessage() is a "high-level" socket function that is used in conjunction with SocketPutMessage(). Both functions process a combination of a numeric value <nCommand> and a message string <cMessage> which represents the payload data of a message. The <nCommand> parameter can then be used to identify a function to process received data. The value of <nCommand> is user-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.