WinSockエラー

Appendix C: Error Reference

エラーコード概要
WSABASEERR0x00000No Error
WSAEINTR0x271410004Interrupted system call
WSAEBADF0x271910009Bad file number
WSAEACCES0x271d10013Permission denied
WSAEFAULT0x271e10014Bad address
WSAEINVAL0x272610022Invalid argument
WSAEMFILE0x272810024Too many open files
WSAEWOULDBLOCK0x273310035Operation would block
WSAEINPROGRESS0x273410036Operation now in progress
WSAEALREADY0x273510037Operation already in progress
WSAENOTSOCK0x273610038Socket operation on non-socket
WSAEDESTADDRREQ0x273710039Destination address required
WSAEMSGSIZE0x273810040Message too long
WSAEPROTOTYPE0x273910041Protocol wrong type for socket
WSAENOPROTOOPT0x273a10042Bad protocol option
WSAEPROTONOSUPPORT0x273b10043Protocol not supported
WSAESOCKTNOSUPPORT0x273c10044Socket type not supported
WSAEOPNOTSUPP0x273d10045Operation not supported on socket
WSAEPFNOSUPPORT0x273e10046Protocol family not supported
WSAEAFNOSUPPORT0x273f10047Address family not supported by protocol family
WSAEADDRINUSE0x274010048Address already in use
WSAEADDRNOTAVAIL0x274110049Can't assign requested address
WSAENETDOWN0x274210050Network is down
WSAENETUNREACH0x274310051Network is unreachable
WSAENETRESET0x274410052Net dropped connection or reset
WSAECONNABORTED0x274510053Software caused connection abort
WSAECONNRESET0x274610054Connection reset by peer
WSAENOBUFS0x274710055No buffer space available
WSAEISCONN0x274810056Socket is already connected
WSAENOTCONN0x274910057Socket is not connected
WSAESHUTDOWN0x274a10058Can't send after socket shutdown
WSAETOOMANYREFS0x274b10059Too many references, can't splice
WSAETIMEDOUT0x274c10060Connection timed out
WSAECONNREFUSED0x274d10061Connection refused
WSAELOOP0x274e10062Too many levels of symbolic links
WSAENAMETOOLONG0x274f10063File name too long
WSAEHOSTDOWN0x275010064Host is down
WSAEHOSTUNREACH0x275110065No Route to Host
WSAENOTEMPTY0x275210066Directory not empty
WSAEPROCLIM0x275310067Too many processes
WSAEUSERS0x275410068Too many users
WSAEDQUOT0x275510069Disc Quota Exceeded
WSAESTALE0x275610070Stale NFS file handle
WSAEREMOTE0x275710071Too many levels of remote in path
WSASYSNOTREADY0x276c10091Network SubSystem is unavailable
WSAVERNOTSUPPORTED0x276d10092WINSOCK DLL Version out of range
WSANOTINITIALISED0x276e10093Successful WSASTARTUP not yet performed
WSAHOST_NOT_FOUND0x2af911001Host not found
WSATRY_AGAIN0x2afa11002Non-Authoritative Host not found
WSANO_RECOVERY0x2afb11003Non-Recoverable errors: FORMERR, REFUSED, NOTIMP
WSANO_DATA0x2afc11004Valid name, no data record of requested type
WSANO_ADDRESSNo address, look for MX record