| Previous | Next |
| ERROR_NO_DATA | ERROR_MORE_DATA |
ERROR_PIPE_NOT_CONNECTED
The pipe has no connected peer
ERROR_PIPE_NOT_CONNECTED means that a pipe read, write, flush, or disconnect operation was attempted without an active peer connection. The peer may have exited or the connection may not yet have completed.
What to check
- Record the last successful pipe operation and peer process identity.
- Handle orderly peer shutdown separately from protocol corruption.
- Check races between I/O completion and connection teardown.
- Cancel outstanding operations before reusing a pipe instance.
How to handle it
Close the stale endpoint and establish a new connection if the application protocol allows it. Do not continue sending data on an object whose connection state is unknown.
References
Looking for a different code? Search another status or error code.
