Site icon EfmSoft

What does errno 58 (ESHUTDOWN) mean?

 
Could be also:
ConstantTypeOS
ERROR_BAD_NET_RESPWin32 errorWindows
EDEADLOCKerrnoLinux
EOWNERDEADerrnoSolaris
SYSTEM_UNWIND_PREVIOUS_USERBugCheck CodeWindows
Previous Next
EDEADLOCK EOWNERDEAD

ESHUTDOWN

The application closed this direction of the connection

ESHUTDOWN means that a send operation was attempted after the socket had already been shut down for sending. shutdown() changes the permitted receive and send directions without closing the file descriptor itself, so a live descriptor does not imply that both directions remain usable.

This is a local lifecycle error. It should be distinguished from a remote graceful close, which affects receive behavior, and from a reset, which discards connection state rather than intentionally disabling a selected direction.

How to make the transition observable

Recovery depends on protocol semantics

Opening a new connection may be appropriate, but it does not make the old socket writable again. First decide whether queued data was intentionally abandoned, fully transmitted, or requires an application-level replay rule.

References


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

Exit mobile version