*** WSAEISCONN – 10056 *** Description Socket is already connected. Notes A connect request was made on an already-connected socket. Some implementations also return this error if sendto is called on a connected SOCK_DGRAM socket (for SOCK_STREAM sockets, the to parameter in sendto is ignored) although other implementations treat this as a legal occurrence.
Author: Lauren McTeague
*** WSAENOBUFS – 10055 ***
*** WSAENOBUFS – 10055 *** Description No buffer space available. Notes An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full.
*** WSAECONNRESET – 10054 ***
*** WSAECONNRESET – 10054 *** Description Connection reset by peer. Notes An existing connection was forcibly closed by the remote host. This normally results if the peer application on the remote host is suddenly stopped, the host is rebooted, the host or remote network interface is disabled, or the remote host uses a hard close… Continue reading *** WSAECONNRESET – 10054 ***
*** WSAECONNABORTED – 10053 ***
*** WSAECONNABORTED – 10053 *** Description Software caused connection abort. Notes An established connection was aborted by the software in your host computer, possibly due to a data transmission time-out or protocol error.
*** WSAENETRESET – 10052 ***
*** WSAENETRESET – 10052 *** Description Network dropped connection on reset. Notes The connection has been broken due to keep-alive activity detecting a failure while the operation was in progress. It can also be returned by setsockopt if an attempt is made to set SO_KEEPALIVE on a connection that has already failed.
*** WSAENETUNREACH – 10051 ***
*** WSAENETUNREACH – 10051 *** Description Network is unreachable. Notes A socket operation was attempted to an unreachable network. This usually means the local software knows no route to reach the remote host.
*** WSAENETDOWN – 10050 ***
*** WSAENETDOWN – 10050 *** Description A socket operation encountered a dead network. This could indicate a serious failure of the network system (that is, the protocol stack that the Windows Sockets DLL runs over), the network interface, or the local network itself.
*** WSAEADDRNOTAVAIL – 10049 ***
*** WSAEADDRNOTAVAIL – 10049 *** Description Cannot assign requested address. Notes The requested address is not valid in its context. This normally results from an attempt to bind to an address that is not valid for the local computer. This can also result from connect, sendto, WSAConnect, WSAJoinLeaf, or WSASendTo when the remote address or… Continue reading *** WSAEADDRNOTAVAIL – 10049 ***
*** WSAEADDRINUSE – 10048 ***
*** WSAEADDRINUSE – 10048 *** Description Address already in use. Notes Typically, only one usage of each socket address (protocol/IP address/port) is permitted. This error occurs if an application attempts to bind a socket to an IP address/port that has already been used for an existing socket, or a socket that was not closed properly,… Continue reading *** WSAEADDRINUSE – 10048 ***
*** WSAENOTSOCK – 10038 ***
*** WSAENOTSOCK – 10038 *** Description Socket operation on nonsocket. Notes An operation was attempted on something that is not a socket. Either the socket handle parameter did not reference a valid socket, or for select, a member of an fd_set was not valid.