Winsock Error Codes

Visual
Basic
Code
Visual Basic NameWinsock
Code
Description
25005 WSAEINTR 10004 interrupted system call
25010 WSAEBADF 10009 bad file number
25014 WSAEACCES 10013 permission denied
25015 WSAEFAULT 10014 bad address
25023 WSAEINVAL 10022 invalid argument
25025 WSAEMFILE 10024 too many open files
25036 WSAEWOULDBLOCK 10035 operation would block
25037 WSAEINPROGRESS 10036 operation now in progress
25038 WSAEALREADY 10037 operation already in progress
25039 WSAENOTSOCK 10038 socket operation on non-socket
25040 WSAEDESTADDRREQ 10039 destination address required
25041 WSAEMSGSIZE 10040 message too long
25042 WSAEPROTOTYPE 10041 protocol wrong type for socket
25043 WSAENOPROTOOPT 10042 bad protocol option
25044 WSAEPROTONOSUPPORT 10043 protocol not suppported
25045 WSAESOCKTNOSUPPORT 10044 socket type not supported
25046 WSAEOPNOTSUPP 10045 operation not supported on socket
25047 WSAEPFNOSUPPORT 10046 protocol family not supported
25048 WSAEAFNOSUPPORT 10047 address family not supported by protocol family
25049 WSAEADDRINUSE 10048 address already in use
25050 WSAEADDRNOTVAIL 10049 can't assign requested address
25051 WSAENETDOWN 10050 network is down
25052 WSAENETUNREACH 10051 network is unreachable
25053 WSAENETRESET 10052 net dropped connection on reset
25054 WSAECONNABORTED 10053 software caused connection abort
25055 WSAECONNERESET 10054 connection reset by peer
25056 WSAENOBUFS 10055 no buffer space available
25057 WSAEISCONN 10056 socket is already connected
25058 WSAENOTCONN 10057 socket is not connected
25059 WSAESHUTDOWN 10058 can't send after socket shutdown
25060 WSAETOOMANYREFS 10059 too many references,can't splice
25061 WSAETIMEOUT 10060 connection timed out
25062 WSAECONNREFUSED 10061 connection refused
25063 WSAELOOP 10062 too many levels of symbolic links
25064 WSAENAMETOOLONG 10063 file name too long
25065 WSAEHOSTDOWN 10064 host is down
25066 WSAEHOSTUNREACH 10065 no route to host
25067 WSAENOEMPTY 10066 directory not empty
25068 WSAEPROCLIM 10067 too many processes
25069 WSAEUSERS 10068 too many users
25070 WSAEDQUOT 10069 disc quota exceeded
25071 WSAESTALE 10070 stale NFS file handle
25072 WSAEREMOTE 10071 too many levels of remote in path
25092 WSASYSNOTREADY 10091 network subsystem is unavailable
25093 WSAVERNOTSUPPORTED 10092 Winsock dll version out of range
25094 WSANOTINITIALISED 10093 successful WSASTARTUP not yet performed
25102 WSAHOSTNOTFOUND 11001 host not found
25103 WSATRYAGAIN 11002 non-authoritative host not found
25104 WSANORECOVERY 11003 non-recovery error
25105 WSANODATA 11004 valid name.no data record for requested name
source