mirror of
https://github.com/zeromq/libzmq.git
synced 2025-11-07 05:58:45 +01:00
Allow TCP addresses to be re-resolved whenever there is a reconnection attempt
This commit is contained in:
@@ -41,7 +41,7 @@ namespace zmq
|
||||
// then starts connection process.
|
||||
tcp_connecter_t (zmq::io_thread_t *io_thread_,
|
||||
zmq::session_base_t *session_, const options_t &options_,
|
||||
const address_t *addr_, bool delayed_start_);
|
||||
address_t *addr_, bool delayed_start_);
|
||||
~tcp_connecter_t ();
|
||||
|
||||
private:
|
||||
@@ -82,7 +82,7 @@ namespace zmq
|
||||
fd_t connect ();
|
||||
|
||||
// Address to connect to. Owned by session_base_t.
|
||||
const address_t *addr;
|
||||
address_t *addr;
|
||||
|
||||
// Underlying socket.
|
||||
fd_t s;
|
||||
|
||||
Reference in New Issue
Block a user