Kbase P42852: Winsock errno listing
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  10/15/2008 |
|
Status: Verified
GOAL:
Winsock errno listing
GOAL:
What does the "ret=" value in errors 778 and 795 mean ?
GOAL:
What does the "errno" in errors 796 and 1432 mean ?
FACT(s) (Environment):
Windows 32 Intel
Windows NT 32 Intel/Windows 2000
FIX:
The WinSock TCP API is used by Progress for all TCP/IP communications on Windows and Windows NT based platforms products on Progress 7.3 and after.
WinSock uses a function to report error status, instead of the errno variable. This error status is mapped to errno in errors 796 and 1432, and is the ret value in errors 778 and 795.
795 Error reading socket=<n> ret=<n> errno=<n> (795)
778 Error <read/writing> socket, ret=<n>, errno=<n> (778)
796 Error writing msg, socket=<n> errno=<n> usernum=<n> disconnected (796)
1432 *** Could not connect to server for database <d>, errno <n> (1432)
The following is a table of WinSock error codes, the mnemonic and it's description.
Error Mnemonic Description
10004 WSAEINTR Interrupted system call
10009 WSAEBADF Bad file number
10014 WSAEFAULT Bad address
10022 WSAEINVAL Invalid argument
10024 WSAEMFILE Too many open files
10035 WSAEWOULDBLOCK Operation would block
10036 WSAEINPROGRESS Operation now in progress
10037 WSAEALREADY Operation already in progress
10038 WSAENOTSOCK Socket operation on non-socket
10039 WSAEDESTADDRREQ Destination address required
10040 WSAEMSGSIZE Message too long
10041 WSAEPROTOTYPE Protocol wrong type for socket
10042 WSAENOPROTOOPT Protocol not available
10043 WSAEPROTONOSUPPORT Protocol not supported
10044 WSAESOCKTNOSUPPORT Socket type not supported
10045 WSAEOPNOTSUPP Operation not supported on socket
10046 WSAEPFNOSUPPORT Protocol family not supported
10047 WSAEAFNOSUPPORT Address family not supported by protocol family
10048 WSAEADDRINUSE Address already in use
10049 WSAEADDRNOTAVAIL Can't assign requested address
10050 WSAENETDOWN Network is down
10051 WSAENETUNREACH Network is unreachable
10052 WSAENETRESET Network dropped connection on reset
10053 WSAECONNABORTED Software caused connection abort
10054 WSAECONNRESET Connection reset by peer
10055 WSAENOBUFS No buffer space available
10056 WSAEISCONN Socket is already connected
10057 WSAENOTCONN Socket is not connected
10058 WSAESHUTDOWN Can't send after socket shutdown
10059 WSAETOOMANYREFS Too many references: can't splice
10060 WSAETIMEDOUT Connection timed out
10061 WSAECONNREFUSED Connection refused
10062 WSAELOOP Too many levels of symbolic links
10063 WSAENAMETOOLONG File name too long
10064 WSAEHOSTDOWN Host is down
10065 WSAEHOSTUNREACH No route to host
10066 WSAENOTEMPTY Directory not empty
10067 WSAEPROCLIM Too many processes
10068 WSAEUSERS Too many users
10069 WSAEDQUOT Disc quota exceeded
10070 WSAESTALE Stale NFS file handle
10071 WSAEREMOTE Too many levels of remote in path
10091 WSASYSNOTREADY System not ready
10092 WSAVERNOTSUPPORTED Version not supported
10093 WSANOTINITIALISED Winsock was not initialized
11001 WSAHOST_NOT_FOUND Host not found
11002 WSATRY_AGAIN Transient failure - Try again
11003 WSANO_RECOVERY No recovery
11004 WSANO_DATA No data