Problem: stream_connecter_base_t does not set local address

Solution: pass the local address by subclasses to create_engine
This commit is contained in:
Simon Giesecke
2019-02-01 11:03:50 -05:00
committed by Simon Giesecke
parent aec9b130f7
commit 87082557f0
5 changed files with 8 additions and 7 deletions

View File

@@ -111,7 +111,7 @@ void zmq::tcp_connecter_t::out_event ()
return;
}
create_engine (fd);
create_engine (fd, get_socket_name<tcp_address_t> (fd, socket_end_local));
}
void zmq::tcp_connecter_t::timer_event (int id_)