A blocking operation was interrupted by a call to WSACancelAsync. (Interrupted system call)
An attempt was made to access a socket in a way forbidden by its access permissions. (Permission denied)
Bad address. The system detected an invalid pointer address. (Bad address)
An invalid argument was supplied. (Invalid argument)
A non-blocking socket operation could not be completed immediately. (Operation would block)
A blocking operation is currently in progress. (Operation now in progress)
An operation was already in progress. (Operation already in progress)
A specified address is already in use. (Address already in use)
The network subsystem failed. (Network is down)
A socket operation attempted to use an unreachable network. (Network unreachable)
An established connection was aborted by the software in your host machine, possibly due to the network subsystem failing or a network configuration error. (Software caused connection abort)
A connection was reset by peer. (Connection reset by peer)
No buffer space available. (No buffer space available)
A request to send or receive data was disallowed because the socket had not been connected. (Socket is not connected)
A connection attempt failed because the connected party did not properly respond after a period of time, or the established connection was broken by a network failure. (Connection timed out)
A connection attempt failed because the connected party did not properly respond after a period of time, or the established connection was broken by a network failure. (Connection refused)
A socket operation tried to use a host that is down. (Host is down)
A socket operation tried to use a host that is unreachable. (No route to host)
Too many levels of symbolic link. (Too many levels of symbolic link)
A specified file name is too long. (Filename too long)
A system limitation was exceeded. (Too many processes)
A quota exceeded. (Too many users)
A quota exceeded. (Disk quota exceeded)
A stale file handle reference. (Stale file handle)
A file reference is no longer valid. (Remote file system changed)
The Winsock catalog entries are not accessible. Either the Winsock system is not yet ready or the file was unable to be found.
The requested Windows Sockets version of the DLL is not supported.
A successful WSARequestService operation has not yet occurred.
A connection has been gracefully closed by the server.
This page lists common Winsock error codes encountered during network programming on Windows. For a complete list and detailed explanations, please refer to the official Microsoft documentation.