![]() |
socket_include.cpp File Reference
Include dependency graph for socket_include.cpp: ![]() Go to the source code of this file.
Detailed Description
Definition in file socket_include.cpp. Function Documentation
Definition at line 33 of file socket_include.cpp. 00034 { 00035 static char tmp[100]; 00036 switch (x) 00037 { 00038 case 10004: return "Interrupted function call."; 00039 case 10013: return "Permission denied."; 00040 case 10014: return "Bad address."; 00041 case 10022: return "Invalid argument."; 00042 case 10024: return "Too many open files."; 00043 case 10035: return "Resource temporarily unavailable."; 00044 case 10036: return "Operation now in progress."; 00045 case 10037: return "Operation already in progress."; 00046 case 10038: return "Socket operation on nonsocket."; 00047 case 10039: return "Destination address required."; 00048 case 10040: return "Message too long."; 00049 case 10041: return "Protocol wrong type for socket."; 00050 case 10042: return "Bad protocol option."; 00051 case 10043: return "Protocol not supported."; 00052 case 10044: return "Socket type not supported."; 00053 case 10045: return "Operation not supported."; 00054 case 10046: return "Protocol family not supported."; 00055 case 10047: return "Address family not supported by protocol family."; 00056 case 10048: return "Address already in use."; 00057 case 10049: return "Cannot assign requested address."; 00058 case 10050: return "Network is down."; 00059 case 10051: return "Network is unreachable."; 00060 case 10052: return "Network dropped connection on reset."; 00061 case 10053: return "Software caused connection abort."; 00062 case 10054: return "Connection reset by peer."; 00063 case 10055: return "No buffer space available."; 00064 case 10056: return "Socket is already connected."; 00065 case 10057: return "Socket is not connected."; 00066 case 10058: return "Cannot send after socket shutdown."; 00067 case 10060: return "Connection timed out."; 00068 case 10061: return "Connection refused."; 00069 case 10064: return "Host is down."; 00070 case 10065: return "No route to host."; 00071 case 10067: return "Too many processes."; 00072 case 10091: return "Network subsystem is unavailable."; 00073 case 10092: return "Winsock.dll version out of range."; 00074 case 10093: return "Successful WSAStartup not yet performed."; 00075 case 10101: return "Graceful shutdown in progress."; 00076 case 10109: return "Class type not found."; 00077 case 11001: return "Host not found."; 00078 case 11002: return "Nonauthoritative host not found."; 00079 case 11003: return "This is a nonrecoverable error."; 00080 case 11004: return "Valid name, no data record of requested type."; 00081 00082 default: 00083 break; 00084 } 00085 sprintf(tmp, "Winsock error code: %d", x); 00086 return tmp; 00087 }
|