WinSock error code list

zhaozj2021-02-17  48

Constant amount

value

Understand

SckoutofMemory 7 is insufficient

SCKINVALIDPROPERTYVALUE 380 attribute value

SckgetNotSupported 394 attribute is not readable

SckgetNotSupported 383 property is read-only

SckbadState 40006 requested transaction or request itself error protocol or error connection status

SckinValidarg 40014 is not determined to the functionality of the function, or not within the specified range

SCKSUCCESS 40017 successful

Sckunsupported 40018 Unsupported Variable Types

Sckinvalidop 40020 Invalid Operation in Current Status

SckoutofRange 40021 Parameter Crossing

Error protocols requested by SCKWRONGPROTOCOL 40026 or request itself

SCKOPCANCELED 10004 cancel operation

The address requested by SCKINVALIDARGUMENT 10014 is a broadcast address, but not set tags.

Sckwouldblock 10035 socket is not a block, and the specified operation will make it block

SckinProgress 10036 manufacturing block Winsock operation is in progress

SckalReadyComplete 10037 completes the operation. Operation of production blocks

ScknotSocket 10038 descriptor is not a socket

SckmsgtooBig 10040 data is too large, not suitable for the requirements of the buffer, thus being truncated

SckportNotsupported 10043 does not support the specified port

Sckaddressinuse 10048 address in use

SckaddressNotavailable 10049 Unused address from the local machine

SCKNETWORKSUBSYSTEMFAILED 10050 network subsystem failed

ScknetWorkunReachable 10051 cannot arrive from the host from the host

SCKNETRESET 10052 Connecting timeout when setting SO_KEEPALIVE

SckConnectaborted 10053 is suspended due to timeout or other failure

SCKCONNECTIONRESET 10054 Reset connection via distal end

Scknobufferspace 10055 No available cache space

SckalReadyConnected 10056 connected socket

ScknotConnected 10057 unconnected socket

ScksockedShutdown 10058 Closed socket

Scktimedout 10060 socket timeout

SCKCONNECTIONREFUSED 10061 forcibly refused

ScknotInitialized 10093 socket is not initialized

SCKHOSTNOTFOUND 11001 Authorization Answer: No host found

SckhostNotFoundTryagain 11002 non-authorized response: No host found, retry

ScknonRecoverableError 11003 Unrecoverable errors

Scknodata 11004 invalid name, no data record for the requested type

转载请注明原文地址:https://www.9cbs.com/read-29661.html

New Post(0)