Site icon EfmSoft

What does errno 140 (EWOULDBLOCK) mean?

 
Could be also:
ConstantTypeOS
ERROR_JOIN_TO_SUBSTWin32 errorWindows
Previous Next
ETXTBSY ESHUTDOWN

EWOULDBLOCK

EWOULDBLOCK is a flow-control signal for a nonblocking operation. It is not a transport failure and it does not mean the work is lost. The caller must wait for the API's readiness or completion condition before attempting the operation again.

On native Windows socket APIs, the corresponding result is WSAEWOULDBLOCK, obtained through WSAGetLastError(). The UCRT's POSIX-supplement value is numerically different. This distinction matters when code mixes a cross-platform abstraction with direct Winsock calls: interpreting one numeric namespace as the other produces incorrect logs and retry logic.

Correct nonblocking behavior

References


Looking for a different code? Search another status or error code.

Exit mobile version