Read from a socket without blocking
HB_INETRECVALL( <socket>, @<cResult>, [ <nAmount> ] ) -> nResult
<socket> a socket previously created / opened
<cResult> is the target buffer and must be passed by reference
<nAmount> is the upper limit of characters to be read from the socket. If not passed this defaults to the length of cResult
The number of the characters read from the socket. Might be less than nAmount on premature socket closing or on network error.
This function works exactly as hb_InetRecv except that it blocks until nAmount bytes are read, if nAmount is given, or cString is filled for its whole length.