mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-30 13:47:13 +01:00
Multi-hop REQ/REP, part XI., finalise the XREQ/XREP functionality
This commit is contained in:
@@ -74,13 +74,9 @@ bool zmq::zmq_init_t::write (::zmq_msg_t *msg_)
|
||||
// Retreieve the remote identity.
|
||||
peer_identity.assign ((const unsigned char*) zmq_msg_data (msg_),
|
||||
zmq_msg_size (msg_));
|
||||
engine->add_prefix (peer_identity);
|
||||
received = true;
|
||||
|
||||
// Once the initial handshaking is over, XREP sockets should start
|
||||
// tracerouting individual messages.
|
||||
if (options.traceroute)
|
||||
engine->traceroute (peer_identity);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user