| Code | Description |
|---|---|
| -2 |
|
| -1 |
|
| 0 | OK |
| 1 | File name (message text) not given |
| 1 | Bad argument given |
| 2 | File (message text) does not exist |
| 3 | Error reading the file (message text) or attached file |
| 4 | File (message text) not of type FILE_TYPE_DISK |
| 5 | Error Reading File (message text) |
| 12 | -server or -f options not specified and not found in registry |
| 13 | Error opening temporary file in temp directory |
| Codes from /* $Id: gensock.h 1.8 1995/01/25 23:28:11 rushing Exp $ */ |
See C code with text descriptions |
| 4001 | ERR_CANT_MALLOC |
| 4002 | ERR_SENDING_DATA |
| 4003 | ERR_INITIALIZING |
| 4004 | ERR_VER_NOT_SUPPORTED |
| 4005 | ERR_EINVAL |
| 4006 | ERR_SYS_NOT_READY |
| 4007 | ERR_CANT_RESOLVE_HOSTNAME |
| 4008 | ERR_CANT_GET_SOCKET |
| 4009 | ERR_READING_SOCKET |
| 4010 | ERR_NOT_A_SOCKET |
| 4011 | ERR_BUSY |
| 4012 | ERR_CLOSING |
| 4013 | WAIT_A_BIT |
| 4014 | ERR_CANT_RESOLVE_SERVICE |
| 4015 | ERR_CANT_CONNECT |
| 4016 | ERR_NOT_CONNECTED |
| 4017 | ERR_CONNECTION_REFUSED |
| -5000 | ERR_NO_ERROR_CODE This is returned by misbehaving stacks that fail, but don't set an error code |