Socket 常見(jiàn)錯(cuò)誤碼及說(shuō)明
Socket error ? ? ? ? 0 – Directly send error?
Socket error 10004 – Interrupted function ? ? ? ? ? ? ? ? ?//call 操作被終止?
Socket error 10013 – Permission denied ? ? ? ????????????// c訪問(wèn)被拒絕?
Socket error 10014 – Bad address ? ? ? ? ? ? ? ? ? ? ? ? ? ?// c地址錯(cuò)誤?
Socket error 10022 – Invalid argument ? ? ? ? ? ? ? ? ? ? ?// 參數(shù)錯(cuò)誤?
Socket error 10024 – Too many open files ????????????????// 打開(kāi)太多的sockets?
Socket error 10035 – Resource temporarily unavailable ? // 沒(méi)有可以獲取的資料?
Socket error 10036 – Operation now in progress ? ? ? ? ? ? ?// 一個(gè)阻塞操作正在進(jìn)行中?
Socket error 10037 – Operation already in progress ????????// 操作正在進(jìn)行中?
Socket error 10038 – Socket operation on non-socket ? ? ?// 非法的socket對(duì)象在操作?
Socket error 10039 – Destination address required ? ? ? ? ? // 目標(biāo)地址錯(cuò)誤?
Socket error 10040 – Message too long ? ? ? ? ? ? ? ? ? ? ? ? ? ?// 數(shù)據(jù)太長(zhǎng)?
Socket error 10041 – Protocol wrong type for socket ? ? ? ?// 協(xié)議類(lèi)型錯(cuò)誤?
Socket error 10042 – Bad protocol option ????????????????????????// 錯(cuò)誤的協(xié)議選項(xiàng)?
Socket error 10043 – Protocol not supported ? ? ? ? ? ? ? ? ? ?// 協(xié)議不被支持?
Socket error 10044 – Socket type not supported ? ? ? ? ? ? ?// socket類(lèi)型不支持?
Socket error 10045 – Operation not supported ????????????????// 不支持該操作?
Socket error 10046 – Protocol family not supported ????????// 協(xié)議族不支持?
Socket error 10047 – Address family not supported by protocol family//使用的地址族不在支持之列?
Socket error 10048 – Address already in use ? ? ? ? ? ? ? ? ? // 地址已經(jīng)被使用?
Socket error 10049 – Cannot assign requested address ?// 地址設(shè)置失敗?
Socket error 10050 – Network is down ????????????????????????????// 網(wǎng)絡(luò)關(guān)閉?
Socket error 10051 – Network is unreachable ????????????????// 網(wǎng)絡(luò)不可達(dá)?
Socket error 10052 – Network dropped connection on reset // 網(wǎng)絡(luò)被重置?
Socket error 10053 – Software caused connection abort ? ? ?// 軟件導(dǎo)致連接退出?
Socket error 10054 – connection reset by peer ????????????????????// 連接被重置?
Socket error 10055 – No buffer space available ? ? ? ? ? ? ? ? ? ?// 緩沖區(qū)不足?
Socket error 10056 – Socket is already connected ? ? ? ? ? ? ? // socket已經(jīng)連接?
Socket error 10057 – Socket is not connected ? ? ? ? ? ? ? ? ? ? ?// socket沒(méi)有連接?
Socket error 10058 – Cannot send after socket shutdown ? ?// socket已經(jīng)關(guān)閉?
Socket error 10060 – Connection timed out ? ? ? ? ? ? ? ? ? ? ? ? ?// 超時(shí)?
Socket error 10061 – Connection refused ? ? ? ? ? ? ? ? ? ? ? ? ? ? // 連接被拒絕?
Socket error 10064 – Host is down ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?// 主機(jī)已關(guān)閉?
Socket error 10065 – No route to host ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?// 沒(méi)有可達(dá)的路由?
Socket error 10067 – Too many processes ? ? ? ? ? ? ? ? ? ? ? ? ? // 進(jìn)程太多?
Socket error 10091 – Network subsystem is unavailable ? ? ?// 網(wǎng)絡(luò)子系統(tǒng)不可用?
Socket error 10092 – WINSOCK.DLL version out of range ? // winsock.dll版本超出范圍?
Socket error 10093 – Successful WSAStartup not yet performed //沒(méi)有成功執(zhí)行WSAStartup?
Socket error 10094 – Graceful shutdown in progress ? ? ? ? ? ?// 過(guò)程中平滑關(guān)閉
Socket error 11001 – Host not found ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?// 主機(jī)沒(méi)有找到?
Socket error 11002 – Non-authoritative host not found ? ? ? ? ?// 非授權(quán)的主機(jī)沒(méi)有找到?
Socket error 11003 – This is a non-recoverable error ? ? ? ? ? ?// 這是個(gè)無(wú)法恢復(fù)的錯(cuò)誤?
Socket error 11004 – Valid name, no data record of requested type //請(qǐng)求的類(lèi)型的名字或數(shù)據(jù)錯(cuò)誤?