Hello,

I'm getting started with zmq, but I'm stumbling on  the first problem
I wanted to solve.
I needed a RPC-like system that could connect to multiple servers, and
it the docs made it sound really easy.  I would simply connect the
same REQ socket to each server, and everything would work magically.
Blocking, and simple round-robin are fine for what I need in this
situation, but It breaks when one party fails to cooperate.

I guess my question doesn't need multiple servers; since every send on
a REQ socket needs to complete a recv from a REP, what do I do when a
server hangs/disappears/is unavailable? I know how to handle this with
traditional sockets, but how do I get this to error or timeout with
zmq? Please point me to TFM if I missed something obvious.

(I'm best with python , so those are the bindings I'm using BTW, in
case there are any deficiencies in that library).

Thanks,
-jim
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to