zoukankan      html  css  js  c++  java
  • SocketException.ErrorCode 列表及注释,Winsocket Error 列表及注释

    注释是英文的,大家需要可以用翻译软件直接译,大体意思没问题。

    WinSock Error Codes

    The following error codes apply to the WinSock ActiveX Controls.


    Error Code Error Message

    10004 The operation is canceled.操作被取消

    10013 The requested address is a broadcast address, but flag is not set.

    10014 Invalid argument.

    10022 Socket not bound, invalid address or listen is not invoked prior to accept.

    10024 No more file descriptors are available, accept queue is empty.

    10035 Socket is non-blocking and the specified operation will block.

    10036 A blocking Winsock operation is in progress.

    10037 The operation is completed. No blocking operation is in progress.

    10038 The descriptor is not a socket.

    10039 Destination address is required.

    10040 The datagram is too large to fit into the buffer and is truncated.

    10041 The specified port is the wrong type for this socket.

    10042 Option unknown, or unsupported.

    10043 The specified port is not supported.

    10044 Socket type not supported in this address family.

    10045 Socket is not a type that supports connection oriented service.

    10047 Address Family is not supported.

    10048 Address in use.

    10049 Address is not available from the local machine.

    10050 Network subsystem failed.

    10051 The network cannot be reached from this host at this time.

    10052 Connection has timed out when SO_KEEPALIVE is set.

    10053 Connection is aborted due to timeout or other failure.

    10054 The connection is reset by remote side.连接被远程端重置

    10055 No buffer space is available.

    10056 Socket is already connected.

    10057 Socket is not connected.

    10058 Socket has been shut down.

    10060 The attempt to connect timed out.

    10061 Connection is forcefully rejected.

    10201 Socket already created for this object.

    10202 Socket has not been created for this object.

    11001 Authoritative answer: Host not found.

    11002 Non-Authoritative answer: Host not found.

    11003 Non-recoverable errors.

    11004 Valid name, no data record of requested type.

    赋予程序生命,还我自由河山!~ --CosMosGhost
  • 相关阅读:
    PTA乙级 (1058 选择题 (20分))
    PTA乙级 (1059 C语言竞赛 (20分)(map.find()、vector中的find))
    Ubuntu18.04之vim安装及配置
    PTA乙级 (1060 爱丁顿数 (25分))
    C++实现求N个数的最大公约数和最小公倍数
    PTA乙级 (1062 最简分数 (20分))
    PTA乙级 (1065 单身狗 (25分)(map,set.find(),vector))
    PTA乙级 (1067 试密码 (20分))
    ionic build android--> Build failed with an exception. Execution failed for task ':processDebugResources'.
    Http-Only Cookie
  • 原文地址:https://www.cnblogs.com/anmoon/p/1827046.html
Copyright © 2011-2022 走看看