| Previous | Next |
| ENOTSOCK | ENOTSUP |
ENETRESET
Network reset invalidated connection state
ENETRESET is distinct from a peer-issued ECONNRESET. Solaris describes it as the network dropping the connection because of reset and gives the case where the connected host crashes and reboots. Existing network/connection state can no longer be relied upon.
The exact transport and observation point still matter. A higher-level retry loop should not flatten ENETRESET, ECONNRESET, and ENETDOWN into one reason if operators need to correlate host restart, network-provider reset, or peer protocol behavior.
Recovery and correlation
- Correlate the errno with peer reboot/startup records and local network-provider events.
- Discard assumptions tied to the lost connection and establish a new transport endpoint before resuming connection-oriented traffic.
- For application retries, decide whether the interrupted request can safely be replayed rather than assuming reset means no remote processing occurred.
References
- Oracle Solaris intro(2) errno catalog
- RFC 9293 TCP connection state and reset semantics
- POSIX Issue 8 errno.h
Looking for a different code? Search another status or error code.