Commit 30076c4f authored by Martin Sustrik's avatar Martin Sustrik

ZMQII-58: TCP connecting asserts on Win32 (same fix for POSIX)

parent c46b7ed1
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment