mirror of
https://github.com/zeromq/libzmq.git
synced 2025-11-07 05:58:45 +01:00
Add ROUTER socket option to introduce self(send an empty message) to new peers, to allow ROUTER<->ROUTER auto-discovery problem.
This commit is contained in:
@@ -112,6 +112,9 @@ namespace zmq
|
||||
bool mandatory;
|
||||
bool raw_sock;
|
||||
|
||||
// if true, send an empty message to every connected peer to solve 'who will write first' race condition
|
||||
bool announce_self;
|
||||
|
||||
router_t (const router_t&);
|
||||
const router_t &operator = (const router_t&);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user