The following is the error code and description of socket error:
Socket error 0-directly send error
Socket error 10004-interrupted function // call operation terminated
Socket error 10013-Permission denied // C access is denied
Socket error 10014-bad address // C address Error
Socket error 10022-invalid argument // parameter error
Socket error 10024-too open files // open too many sockets
Socket error 10035-resource temporarily unavailable // No information available
Socket error 10036-operation now in progress // a blocking operation in progress
Socket error 10037-operation already in progress // The operation is in progress.
Socket error 10038-socket operation on Non-socket // the operation of an invalid socket object
Socket error 10039-destination address required // The target address is incorrect.
Socket error 10040-message too long // The data is too long
Socket error 10041-Protocol wrong type for socket // protocol type error
Socket error 10042-bad protocol option // incorrect protocol option
Socket error 10043-protocol not supported // The protocol is not supported
Socket error 10044-socket type not supported // The socket type is not supported
Socket error 10045-operation not supported // this operation is not supported
Socket error 10046-protocol family not supported // not supported by the protocol family
Socket error 10047-address family not supported by protocol family // The address family used is not supported.
Socket error 10048-address already in use // address already in use
Socket error 10049-cannot assign requested address // Address Setting failed
Socket error 10050-network is down // network closed
Socket error 10051-network is unreachable // network inaccessible
Socket error 10052-network dropped connection on Reset // The network is reset.
Socket error 10053-software caused connection abort // software causes the connection to exit
Socket error 10054-Connection reset by peer // The connection is reset.
Socket error 10055-no buffer space available // insufficient buffer zone
Socket error 10056-socket is already connected // The socket has been connected.
Socket error 10057-socket is not connected // The socket is not connected.
Socket error 10058-cannot send after socket shutdown // The socket has been closed
Socket error 10060-connection timed out // timeout
Socket error 10061-connection refused // connection rejected
Socket error 10064-host is down // the host is closed
Socket error 10065-No route to host // inaccessible route
Socket error 10067-too processes // too many processes
Socket error 10091-network subsystem is unavailable // network subsystem unavailable
Socket error 10092-Winsock. dll version out of range // The Winsock. dll version is out of range
Socket error 10093-successful wsastartup not yet completed MED // wsastartup is not successfully executed
Socket error 10094-graceful shutdown in progress //
Socket error 11001-host not found // host not found
Socket error 11002-non-authoritative host not found // The unauthorized host is not found
Socket error 11003-this is a non-recoverable error // This is an unrecoverable error.
Socket error 11004-valid name, no data record of requested type // The name or data of the Request type is incorrect.
Wsaeaddrinuse (10048) address already in use
Wsaeconnaborted (10053) software caused connection abort
Wsaeconnrefused (10061) connection refused
Wsaeconnreset (10054) Connection reset by peer
Wsaedestaddrreq (10039) Destination Address required
Wsaehostunreach (10065) No route to host
Wsaemfile (10024) Too program open files
Wsaenetdown (10050) network is down
Wsaenetreset (10052) network dropped connection
Wsaenobufs (10055) No buffer space available
Wsaenetunreach (10051) network is unreachable
Wsaetimedout (10060) connection timed out
Wsahost_not_found (11001) Host not found
Wsasysnotready (10091) network sub-system is unavailable
Wsanotinitialised (10093) wsastartup () not completed MED
Wsano_data (11004) valid name, no data of that type
Wsano_rediscovery (11003) non-recoverable query Error
Wsatry_again (11002) Non-authoritative host found
Wsavernotsupported (10092) Wrong Winsock dll version