Commit 58378c6a authored by Pieter Hintjens's avatar Pieter Hintjens

Merge pull request #280 from hurtonm/fix_ipc_connecter

fix connection establishment for AF_UNIX sockets
parents 60e45f34 0a6fc027
......@@ -128,7 +128,7 @@ void zmq::ipc_connecter_t::start_connecting ()
}
// Connection establishment may be delayed. Poll for its completion.
else if (rc == -1 && errno == EAGAIN) {
else if (rc == -1 && errno == EINPROGRESS) {
handle = add_fd (s);
handle_valid = true;
set_pollout (handle);
......
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