Winsock error code list

Source: Internet
Author: User
Tags connection reset

Winsock error code list
 
SckOutOfMemory 7 out of memory
The value of sckInvalidPropertyvalue 380 is invalid.
The sckGetNotSupported 394 attribute is not readable.
The sckGetNotSupported 383 attribute is read-only.
SckBadState 40006 the transaction requested or the error protocol or error connection status of the request itself
The format of the parameter passed to the function by sckInvalidArg 40014 is unknown or is not within the specified range.
SckSuccess 40017 successful
Variable types not supported by sckUnsupported 40018
The action of sckInvalidOp 40020 in the current status is invalid.
SckOutOfRange 40021 parameter out of bounds
Error protocol for the transaction or request itself requested by sckWrongProtocol 40026
SckOpCanceled 10004 cancel Operation
The address requested by sckInvalidArgument 10014 is a broadcast address, but no flag is set
SckWouldBlock 10035 socket is not block, and the specified operation will block it
The Winsock operation of the sckInProgress 10036 manufacturing block is in progress.
SckAlreadyComplete 10037 is complete. No block creation operation is performed.
SckNotSocket 10038 descriptor is not a socket
SckMsgTooBig 10040 is truncated because the data size is too large to meet the requirements of the buffer zone.
SckPortNotSupported 10043 does not support the specified port
SckAddressInUse 10048 address in use
SckAddressNotAvailable 10049 unavailable address from Local Machine
SckNetworkSubsystemFailed 10050 network subsystem failed
SckNetworkUnreachable 10051 cannot reach the network from the host currently
SckNetReset 10052 connection timeout when SO_KEEPALIVE is set
SckConnectAborted 10053 suspends a connection due to timeout or other failures
SckConnectionReset 10054 remote Connection Reset
No available cache space for sckNoBufferSpace 10055
SckAlreadyConnected 10056 connected socket
SckNotConnected 10057 no socket connection
SckSockedShutdown 10058 socket closed
SckTimedout 10060 socket timeout
SckConnectionRefused 10061 forcibly rejects a connection
SckNotInitialized 10093 socket not initialized
SckHostNotFound 11001 authorization response: Host not found
SckHostNotFoundTryAgain 11002 unauthorized response: Host not found, retry
SckNonRecoverableError 11003 unrecoverable error

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.