inet_error
Getting an error code. The function returns the code of the last error. Codes greater than 10000 are codes of errors in the library WinSock 2 ( ws2_32.dll ).
func uint inet_error()
Return value
The code of the last error.
$ERRINET_DLLVERSION | Unsupported version of ws2_32.dll. |
$ERRINET_HTTPDATA | Not HTTP data is received. |
$ERRINET_USERBREAK | The process is interrupted by the user. |
$ERRINET_OPENFILE | Cannot open the file. |
$ERRINET_WRITEFILE | Cannot write the file. |
$ERRINET_READFILE | Cannot read the file. |
$ERRFTP_RESPONSE | The wrong response of the server. |
$ERRFTP_QUIT | The wrong QUIT response of the server. |
$ERRFTP_BADUSER | The bad user name. |
$ERRFTP_BADPSW | The wrong password. |
$ERRFTP_PORT | Error PORT. |
Related links | Source |