Problem: monitor events are unversioned

Solution: add monitor event socket option
This commit is contained in:
Simon Giesecke
2019-02-01 05:43:45 -05:00
committed by Simon Giesecke
parent 2e73554644
commit 01371398e9
35 changed files with 432 additions and 177 deletions

View File

@@ -140,7 +140,8 @@ void zmq::tcp_connecter_t::start_connecting ()
else if (rc == -1 && errno == EINPROGRESS) {
_handle = add_fd (_s);
set_pollout (_handle);
_socket->event_connect_delayed (_endpoint, zmq_errno ());
_socket->event_connect_delayed (
make_unconnected_connect_endpoint_pair (_endpoint), zmq_errno ());
// add userspace connect timeout
add_connect_timer ();