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.
This is Harbour specific