From f895426c1885729f4a4a20b1eb543a92915aed85 Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 7 Sep 2009 15:41:43 +0200 Subject: initial changes for win port --- src/zmq_connecter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/zmq_connecter.cpp') diff --git a/src/zmq_connecter.cpp b/src/zmq_connecter.cpp index e4e7eea..d15566a 100644 --- a/src/zmq_connecter.cpp +++ b/src/zmq_connecter.cpp @@ -106,7 +106,7 @@ void zmq::zmq_connecter_t::start_connecting () } // Connection establishment may be dealyed. Poll for its completion. - else if (rc == -1 && errno == EINPROGRESS) { + else if (rc == -1 && errno == EAGAIN) { handle = add_fd (tcp_connecter.get_fd ()); handle_valid = true; set_pollout (handle); -- cgit v1.2.3