diff options
author | Martin Sustrik <sustrik@250bpm.com> | 2010-02-04 17:46:47 +0100 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2010-02-04 17:46:47 +0100 |
commit | 30076c4f7a5b0c70ef0c5a6574cac531bc996f5e (patch) | |
tree | e941bc52284b71bc6c80d6293ae5fa587c3c39f6 | |
parent | c46b7ed1978ead346022577ff015b092f3257c84 (diff) |
ZMQII-58: TCP connecting asserts on Win32 (same fix for POSIX)
-rw-r--r-- | src/tcp_connecter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tcp_connecter.cpp b/src/tcp_connecter.cpp index 559129e..6dbb934 100644 --- a/src/tcp_connecter.cpp +++ b/src/tcp_connecter.cpp @@ -275,7 +275,7 @@ zmq::fd_t zmq::tcp_connecter_t::connect () // Assert that the error was caused by the networking problems // rather than 0MQ bug. - zmq_assert (err == ECONNREFUSED); + zmq_assert (err == ECONNREFUSED || err == ETIMEDOUT); errno = err; return retired_fd; |