[zeromq-dev] Disconnect notification.
Jon Dyte
jon at totient.co.uk
Mon Jul 5 20:39:41 CEST 2010
Sarat K wrote:
> Hi,
>
> I am exploring ZeroMq for one of my application. One of the requirement I
> have is to get disconnect notification from the ZeroMQ kernel when ever a
> client terminates the connection/when ever client program crashes I wanted
> to know about the disconnect in the communication. My application model is;
> I have a single server that is connected to many clients and server wants to
> know when ever a client got disconnected.
>
>
can you not implement a heartbeating mechanism at the application level?
If the heartbeats go missing, the
application assumes the clients have died.
also look at the tail end of the thread 'Forwarder stops Forwarding' for
posts by Matt W and Pieter H.
Jon
More information about the zeromq-dev
mailing list