***
*** WINSOCK Error Codes
***

-10004: "Interrupted system call."
-10009: "Bad file number."
-10013: "Access denied."
-10014: "Bad address."
-10022: "Invalid argument."
-10024: "Too many open files."
-10035: "Would block socket in non-blocking mode."
-10036: "Blocking call already in progress."
-10037: "Operation already completed."
-10038: "Not a valid socket
-10039: "Destination address required."
-10040: "Message too big for buffer."
-10041: "Protocol mismatch."
-10042: "Protocol option invalid."
-10043: "Protocol not supported."
-10044: "Socket type not supported."
-10045: "Socket operation not supported."
-10047: "Socket address family not supported."
-10048: "Socket address already in use."
-10049: "Socket address not available."
-10050: "Network error."
-10051: "Cannot reach network."
-10052: "Connection dropped."
-10053: "Connection timed-out or aborted."
-10054: "Connection reset by remote host."
-10055: "Out of buffer space."
-10056: "Socket already connected."
-10057: "Socket not connected."
-10058: "Socket functionality shut down."
-10060: "Timed-out attempting to connect."
-10061: "Connection refused by remote host."
-10064: "Host is down
-10065: "No route to host
-10091: "Network not yet ready."
-10092: "WINSOCK doesn't support requested version."
-10093: "Sockets not initialized." Call WSAStartup."
-11001: "Host does not exist."
-11002: "Host not found." Try again."
-11003: "Non-recoverable error has occurred."
-11004: "No data is available."

***
*** FCE Error Codes
***

 -1: FCE_EOF                "Socket has been closed."
 -2: FCE_ABORTED            "Internal checksum fails!"
 -3: FCE_ALREADY_ATTACHED   "Already attached."
 -4: FCE_BAD_STATUS_FLAG    "Bad status flag passed to fceStatus."
 -5: FCE_CANNOT_ALLOC       "Cannot allocate memory."
 -6: FCE_CANNOT_COMPLY      "Cannot comply"
 -7: FCE_CANNOT_CREATE_SOCK "Cannot create socket."
 -8: FCE_CHAN_OUT_OF_RANGE  "Channel out of range."
 -9: FCE_CONNECT_ERROR      "Error attempting to connect."
-10: FCE_INVALID_SOCKET     "Invalid socket."
-11: FCE_IS_BLOCKING        "WINSOCK is currently blocking."
-12: FCE_NO_HOST            "No host name."
-13: FCE_NO_SERVER          "Cannot find FTP server."
-14: FCE_NO_SOCK_ADDR       "No available sockaddr structures."
-15: FCE_NOT_ATTACHED       "Must call fceAttach first."
-16: FCE_NOT_SERVER         "Illegal chars in server name."
-17: FCE_PASS_NULL_ARG      "PASSWORD not specified."
-18: FCE_SERVER_ERROR       "FTP server returned error."
-19: FCE_SERVER_NULL_ARG    "SERVER not specified."
-20: FCE_SOCK_READ_ERROR    "Socket read error."
-21: FCE_SOCK_WRITE_ERROR   "Socket write error."
-22: FCE_TIMED_OUT          "Socket timed out."
-23: FCE_USER_NULL_ARG      "USER name not specified."
-24: FCE_MODE_NOT_AB        "Must specify 'A' or 'B' for mode."
-25: FCE_LISTEN_ERROR       "Listen error."
-26: FCE_LISTENER_SILENT    "No response on listener socket."
-27: FCE_ACCEPT_SILENT      "Timed out waiting for accept."
-28: FCE_CANNOT_OPEN        "Cannot open file."
-29: FCE_FILE_IO_ERROR      "File I/O error."
-30: FCE_PASV_ERROR         "Cannot find PASV port."
-31: FCE_NOT_COMPLETED      "LIST/GET/PUT not completed."
-32: FCE_BUFFER_OVERFLOW    "List buffer has overflowed."
-34: FCE_NO_GREETING,       "Missing server's greeting message."
-35: FCE_PORT_RANGE         "Data port is out of range [1024, 65535]."
-36: FCE_BUFFER_TOO_SMALL   "Buffer too small"

-74: FCE_BAD_KEY_CODE       "Bad key code (2nd argument to fceAttach)."
-75: FCE_EXPIRED            "FCE expired"

***
*** END
***
