Hi Caroline,

> The failover scenarios that I have in mind are similar to what Gonzalo and
> Martin have described in the forum earlier.  
> Suggested code snippet copied below:
> 
> socket_t s (ctx, ZMQ_DOWNSTREAM);
> s.setsockopt (ZMQ_PRIORITY, 1);
> s.bind ("tcp://eth0:5555");
> s.setsockopt (ZMQ_PRIORITY, 2);
> s.bind ("tcp://eth0:5556");
> 
> This way ZMQ is acting like a directory service, automatically directing
> applications to fail over to connect to the secondary port if the primary is
> unavailable.

Ok. Got it. This is not a priority at the moment. What we are currently 
working on are multi-part messages and multi-hop request/reply.

Feel free to contribute or sponsor the development though!

Cheers.
Martin
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to