Avaliação do Usuário

Estrela inativaEstrela inativaEstrela inativaEstrela inativaEstrela inativa
 

hb_inetErrorCode()

Get the last INET error code
Syntax
hb_inetErrorCode( <socket> ) -> nResult
Argument(s)
<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

This is Harbour specific