| Previous | Next |
| ENOTSUP | EOPNOTSUPP |
ECONNABORTED
The abort is attributed to the local host
Solaris describes ECONNABORTED as a connection abort caused internally to the local host. That attribution distinguishes it from ECONNRESET, where the peer forcibly closes the connection, and from ECONNREFUSED, which occurs during connection establishment.
Higher-level libraries may present all three as a disconnected session. Retaining errno and the socket operation that surfaced it is necessary to decide whether to inspect the remote service or local endpoint lifecycle, protocol stack, and resource transitions.
Local-abort evidence
- Correlate the error with local interface changes, endpoint closure, process cancellation, and transport-provider diagnostics.
- For server accept loops, record whether the connection was aborted before the application accepted or initialized it.
- Preserve the connection identifiers and timestamps needed to compare kernel/network traces with application events.
References
Looking for a different code? Search another status or error code.
