Verbose ROUTER socket behavior patch

This commit is contained in:
Kobolog
2012-06-17 02:33:43 +04:00
parent 21eb8c8fa5
commit 829d0003be
7 changed files with 93 additions and 27 deletions

View File

@@ -110,8 +110,9 @@ namespace zmq
// algorithm. This value is the next ID to use (if not used already).
uint32_t next_peer_id;
// If true, fail on unroutable messages instead of silently dropping them.
bool fail_unroutable;
// If true, report EAGAIN to the caller instead of silently dropping
// the message targeting an unknown peer.
bool report_unroutable;
router_t (const router_t&);
const router_t &operator = (const router_t&);