[zeromq-dev] Howto check if server is available/unavailable

Martin Sustrik sustrik at 250bpm.com
Thu Feb 11 12:48:41 CET 2010


Hi Raman,

> I have publish/subscribe application(one server and several clients).
> Is there any way to check from client if server is available or not ?

No, there is not. It's not even clear what 'unavailable server' means 
(see the mail I written earlier on today "Handling disconnections").

Trivial solution is to consider the server dead if you haven't got a 
message from it for N seconds.

Martin



More information about the zeromq-dev mailing list