Subj.
Pull request 561: https://github.com/zeromq/libzmq/pull/561


Add ROUTER socket option 'ZMQ_ROUTER_ANNOUNCE_SELF' to introduce self(e.g. send 
an empty message) to newly connected/accepted peers, to allow ROUTER<->ROUTER 
auto-discovery problem.

Not sure that zmq::router_t::identify_peer() - it is the best place for the 
code to automatically send message to new peers.

Anyway it works, and now ROUTER will send message to any newly connected peer.
This way ROUTER on other side immediately will know the identity of the remote 
side.

P.S.
I believe that 'ZMQ_ROUTER_ANNOUNCE_SELF' option name could/should be adjusted.


________________________________

This message is intended only for the person(s) to which it is addressed and 
may contain Intermedia.net Inc privileged, confidential and/or proprietary 
information. If you have received this communication in error, please notify us 
immediately by replying to the message and deleting it from your computer. Any 
disclosure, copying, distribution, or the taking of any action concerning the 
contents of this message and any attachment(s) by anyone other than the named 
recipient(s) is strictly prohibited.
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to