From c46b7ed1978ead346022577ff015b092f3257c84 Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 4 Feb 2010 17:40:04 +0100 Subject: ZMQII-58: TCP connecting asserts on Win32 --- src/tcp_connecter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tcp_connecter.cpp') diff --git a/src/tcp_connecter.cpp b/src/tcp_connecter.cpp index ebd9b9d..559129e 100644 --- a/src/tcp_connecter.cpp +++ b/src/tcp_connecter.cpp @@ -117,7 +117,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 == WSAECONNREFUSED); + zmq_assert (err == WSAECONNREFUSED || err == WSAETIMEDOUT); errno = err; return retired_fd; -- cgit v1.2.3