Get the last INET error code
HB_INETERRORCODE( <socket> ) -> nResult
<socket> a socket previously created / opened
Last error code
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.