2
0
mirror of https://github.com/boostorg/asio.git synced 2026-02-26 14:52:09 +00:00

Add missing broken pipe error.

[SVN r42752]
This commit is contained in:
Christopher Kohlhoff
2008-01-14 13:20:06 +00:00
parent 2e343266ab
commit e73e772d7f

View File

@@ -71,6 +71,11 @@ enum basic_errors
/// Operation already in progress.
already_started = BOOST_ASIO_SOCKET_ERROR(EALREADY),
/// Broken pipe.
broken_pipe = BOOST_ASIO_WIN_OR_POSIX(
BOOST_ASIO_NATIVE_ERROR(ERROR_BROKEN_PIPE),
BOOST_ASIO_NATIVE_ERROR(EPIPE)),
/// A connection has been aborted.
connection_aborted = BOOST_ASIO_SOCKET_ERROR(ECONNABORTED),