From 24814c6c087cc6543a894662be97f331e7164439 Mon Sep 17 00:00:00 2001 From: chris_kohlhoff Date: Mon, 14 Jan 2008 11:54:06 +0000 Subject: [PATCH] Add missing broken pipe error. --- asio/include/asio/error.hpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/asio/include/asio/error.hpp b/asio/include/asio/error.hpp index 4fd47d2d..1c1946af 100644 --- a/asio/include/asio/error.hpp +++ b/asio/include/asio/error.hpp @@ -70,6 +70,11 @@ enum basic_errors /// Operation already in progress. 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. connection_aborted = ASIO_SOCKET_ERROR(ECONNABORTED),