hb_inetErrorCode()

HB_INETERRORCODE()

Get the last INET error code

Syntax

      HB_INETERRORCODE( <socket> ) -> nResult

Arguments

<socket> a socket previously created / opened

Returns

Last error code

Description

Returns the last error code that has been provoked by a network operation, or 0 if none.

Error codes are the ones used for winsock or UnixSockets (they are the same); 1 is reserved for “connection closed” message.

Compliance

Harbour

Advertisements

3 responses to “hb_inetErrorCode()

  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