Socket的錯誤碼和描述(中英文翻譯)

來源:互聯網
上載者:User

下面是Socket Error的錯誤碼和描述:

Socket error 0 - Directly send error
Socket error 10004 - Interrupted function  //call 操作被終止
Socket error 10013 - Permission denied  //c訪問被拒絕
Socket error 10014 - Bad address   //c地址錯誤
Socket error 10022 - Invalid argument   //參數錯誤
Socket error 10024 - Too many open files  // 開啟太多的sockets
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對象在操作
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類型不支援
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已經串連
Socket error 10057 - Socket is not connected    //socket沒有串連
Socket error 10058 - Cannot send after socket shutdown  //socket已經關閉
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 many processes  //進程太多
Socket error 10091 - Network subsystem is unavailable  //網路子系統不可用
Socket error 10092 - WINSOCK.DLL version out of range //winsock.dll版本超出範圍
Socket error 10093 - Successful WSAStartup not yet performed //沒有成功執行WSAStartup
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 many 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 performed 
WSANO_DATA (11004) Valid name, no data of that type 
WSANO_RECOVERY (11003) Non-recoverable query error 
WSATRY_AGAIN (11002) Non-authoritative host found 
WSAVERNOTSUPPORTED (10092) Wrong WinSock DLL version

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.