diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/tcp_socket.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tcp_socket.cpp b/src/tcp_socket.cpp index a392590..c83bba6 100644 --- a/src/tcp_socket.cpp +++ b/src/tcp_socket.cpp @@ -211,7 +211,7 @@ int zmq::tcp_socket_t::read (void *data, int size) // Signalise peer failure. if (nbytes == -1 && (errno == ECONNRESET || errno == ECONNREFUSED || - errno == ETIMEDOUT)) + errno == ETIMEDOUT || errno == EHOSTUNREACH)) return -1; errno_assert (nbytes != -1); |