HB_INETRECVALL()
Read from a socket without blocking
Syntax
HB_INETRECVALL( <socket>, @<cResult>, [ <nAmount> ] ) -> nResult
Arguments
<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
Returns
The number of the characters read from the socket. Might be less than nAmount on premature socket closing or on network error.
Description
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.
Compliance
Harbour
Pingback: Harbour All Functions – H | Viva Clipper !
Pingback: Harbour inet Functions | Viva Clipper !
Pingback: Harbour RG Summary | Viva Clipper !