hb_inetRecvAll()

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

Advertisements

3 responses to “hb_inetRecvAll()

  1. Pingback: Harbour All Functions – H | Viva Clipper !

  2. Pingback: Harbour inet Functions | Viva Clipper !

  3. Pingback: Harbour RG Summary | Viva Clipper !

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s