[zeromq-dev] Re-connecting after server dies

Dan Cooper dan.cooper81 at googlemail.com
Fri Feb 5 20:04:55 CET 2010


Hi Martin,

Thanks for your reply.

I'm using beta2 from the website, running display on one machine (Windows), prompt on the other (Windows) and forwarder in the middle (LInux). If forwarder goes away for any amount of time, the messages are no longer received.

Thanks,
Dan



On 5 Feb 2010, at 19:03, Martin Sustrik wrote:

> 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