[zeromq-dev] Re-connecting after server dies

Martin Sustrik sustrik at 250bpm.com
Fri Feb 5 20:03:05 CET 2010


Hi Dan,

> I'm implementing zeromq as a way of communicating between
> client/client using the zmq_forwarder device and I've run into a
> problem when the connection is lost due to the server going down. If
> the server goes away and comes back up again, the client (basically,
> the display sample app) simply no longer receives any messages until
> it is also restarted. I'm sure there must be a way round this but I
> cannot find a way so far.
> 
> Can anyone suggest a way to have it reconnect?

It should reconnect automatically. What version are you using? Trunk? 
beta2? I'll give it a try.

Martin



More information about the zeromq-dev mailing list