Add missing broken pipe error.

This commit is contained in:
chris_kohlhoff 2008-01-14 11:54:06 +00:00
parent 665fcfc9b0
commit 24814c6c08

View File

@ -70,6 +70,11 @@ enum basic_errors
/// Operation already in progress. /// Operation already in progress.
already_started = ASIO_SOCKET_ERROR(EALREADY), already_started = ASIO_SOCKET_ERROR(EALREADY),
/// Broken pipe.
broken_pipe = ASIO_WIN_OR_POSIX(
ASIO_NATIVE_ERROR(ERROR_BROKEN_PIPE),
ASIO_NATIVE_ERROR(EPIPE)),
/// A connection has been aborted. /// A connection has been aborted.
connection_aborted = ASIO_SOCKET_ERROR(ECONNABORTED), connection_aborted = ASIO_SOCKET_ERROR(ECONNABORTED),