Winsock error code

The following are the list of winsock error codes.

Error Value Description
WSAEINTR 10004 Interrupted function call
WSAEACCES 10013 Permission denied
WSAEFAULT 10014 Bad address
WSAEINVAL 10022 Invalid argument
WSAEMFILE 10024 Too many open files
WSAEWOULDBLOCK 10035 Resource temporarily unavailable
WSAEINPROGRESS 10036 Operation now in progress
WSAEALREADY 10037 Operation already in progress
WSAENOTSOCK 10038 Socket operation on nonsocket
WSAEDESTADDRREQ 10039 Destination address required
WSAEMSGSIZE 10040 Message too long
WSAEPROTOTYPE 10041 Protocol wrong type for socket
WSAENOPROTOOPT 10042 Bad protocol option
WSAEPROTONOSUPPORT 10043 Protocol not supported
WSAESOCKTNOSUPPORT 10044 Socket type not supported
WSAEOPNOTSUPP 10045 Operation not supported
WSAEPFNOSUPPORT 10046 Protocol family not supported
WSAEAFNOSUPPORT 10047 Address family not supported by protocol family
WSAEADDRINUSE 10048 Address already in use
WSAEADDRNOTAVAIL 10049 Cannot assign requested address
WSAENETDOWN 10050 Network is down
WSAENETUNREACH 10051 Network is unreachable
WSAENETRESET 10052 Network dropped connection on reset
WSAECONNABORTED 10053 Software caused connection abort
WSAECONNRESET 10054 Connection reset by peer
WSAENOBUFS 10055 No buffer space available
WSAEISCONN 10056 Socket is already connected
WSAENOTCONN 10057 Socket is not connected
WSAESHUTDOWN 10058 Cannot send after socket shutdown
WSAETIMEDOUT 10060 Connection timed out
WSAECONNREFUSED 10061 Connection refused
WSAEHOSTDOWN 10064 Host is down
WSAEHOSTUNREACH 10065 No route to host
WSAEPROCLIM 10067 Too many processes
WSASYSNOTREADY 10091 Network subsystem is unavailable
WSAVERNOTSUPPORTED 10092 Winsock.dll version out of range
WSANOTINITIALISED 10093 Successful WSAStartup not yet performed
WSAEDISCON 10101 Graceful shutdown in progress
WSATYPE_NOT_FOUND 10109 Class type not found
WSAHOST_NOT_FOUND 11001 Host not found
WSATRY_AGAIN 11002 Nonauthoritative host not found
WSANO_RECOVERY 11003 This is a nonrecoverable error
WSANO_DATA 11004 Valid name, no data record of requested type
WSA_INVALID_HANDLE OS dependent Specified event object handle is invalid
WSA_INVALID_PARAMETER OS dependent One or more parameters are invalid
WSA_IO_INCOMPLETE OS dependent Overlapped I/O event object not in signaled state
WSA_NOT_ENOUGH_MEMORY OS dependent Insufficient memory available
WSA_OPERATION_ABORTED OS dependent Overlapped operation aborted
WSAINVALIDPROCTABLE OS dependent Invalid procedure table from service provider
WSAINVALIDPROVIDER OS dependent Invalid service provider version number
WSAPROVIDERFAILEDINIT OS dependent Unable to initialize a service provider
WSASYSCALLFAILURE OS dependent System call failure


Copyright (C) GeekPage.JP. All rights reserved.