mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-30 13:47:13 +01:00
Multi-hop REQ/REP, part V., peer identity is passed from init object to session
This commit is contained in:
@@ -192,7 +192,8 @@ void zmq::zmq_init_t::finalise ()
|
||||
}
|
||||
|
||||
// No need to increment seqnum as it was laready incremented above.
|
||||
send_attach (session, engine, false);
|
||||
send_attach (session, engine, (unsigned char) peer_identity.size (),
|
||||
(unsigned char*) peer_identity.data (), false);
|
||||
|
||||
// Destroy the init object.
|
||||
engine = NULL;
|
||||
|
||||
Reference in New Issue
Block a user