Ntstatus. h and winnt. h
For SOCKET errors, if the error code cannot be found in msdn, the two files should solve your problem.
I can check it all the time.
Of course, general error codes can be viewed in msdn.
I will post some instructions.
Socket error code Summary (Windows and unix) favorites
First, count the error codes in windows.
Query on the host, such as in windows, and enter net helpmsg 1xxx on the command line.
Network Connection error: Socket error #11001
This indicates that your computer cannot be connected to the server. Check your Proxy settings and relevant Proxy accounts, or temporarily cancel the "Personal Firewall" of your anti-virus software 」.
· Network online error Socket error #11004
The network connection status is incorrect. Check whether the network connection is normal.
· Network Connection error: Socket error #10060 Connection Timed Out
Indicates that an error occurs when you renew your instance online. Check your Proxy settings and whether the Proxy Server has enabled the SSL 443 port.
· Network online error Socket error #10061
It indicates that the server is busy and cannot be connected to you. Please try again later.
· Network online error Socket error #10022
Update Windows operating system components online. For Windows NT version 4.0 users, download and install Service Pack 5 or above.
· Internal Server Error
The host is busy. Please try again later.
· Socket Error #10022 invalid argument occurs during upload.
Update Windows OS components online (Windows Update ). For Windows NT version 4.0 users, download and install Service Pack 5 or above.
· Socket Error #10054 Connection reset by peer
The reason is that the connection is blocked or the proxy is interrupted. "Or, if you have an IP address sharing device installed, remove the IP address sharing device, connect the computer to the ADSL line, and upload it again.
· Socket Error #10057 Connection reset by peer
The reason is that the system file is damaged. Please perform system antivirus and disable anti-virus software and firewall.
Socket errors feedback in indy9 Development Program
The following is the error code and description of socket error:
Socket error 0-directly send error
Socket error 10004-interrupted function call
Socket error 10013-Permission denied
Socket error 10014-bad address
Socket error 10022-invalid argument
Socket error 10024-Too enabled open files
Socket error 10035-Resource temporarily unavailable
Socket error 10036-Operation now in progress
Socket error 10037-Operation already in progress
Socket error 10038-Socket operation on non-socket
Socket error 10039-Destination address required
Socket error 10040-Message too long
Socket error 10041-Protocol wrong type for socket
Socket error 10042-Bad protocol option
Socket error 10043-Protocol not supported
Socket error 10044-Socket type not supported
Socket error 10045-Operation not supported
Socket error 10046-Protocol family not supported
Socket error 10047-Address family not supported by protocol family
Socket error 10048-Address already in use
Socket error 10049-Cannot assign requested address
Socket error 10050-Network is down
Socket error 10051-Network is unreachable
Socket error 10052-Network dropped connection on reset
Socket error 10053-Software caused connection abort
Socket error 10054-Connection reset by peer
Socket error 10055-No buffer space available
Socket error 10056-Socket is already connected
Socket error 10057-Socket is not connected
Socket error 10058-Cannot send after socket shutdown
Socket error 10060-Connection timed out
Socket error 10061-Connection refused
Socket error 10064-Host is down
Socket error 10065-No route to host
Socket error 10067-Too processing processes
Socket error 10091-Network subsystem is unavailable
Socket error 10092-WINSOCK. DLL version out of range
Socket error 10093-Successful WSAStartup not yet completed MED
Socket error 10094-Graceful shutdown in progress
Socket error 11001-Host not found
Socket error 11002-Non-authoritative host not found
Socket error 11003-This is a non-recoverable error
Socket error 11004-Valid name, no data record of requested type
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