[zeromq-dev] detecting disconnections

Pieter Hintjens ph at imatix.com
Mon Jan 9 22:26:32 CET 2012


On Mon, Jan 9, 2012 at 7:19 AM, Yi Ding <yi.s.ding at gmail.com> wrote:

> Would it be difficult to implement in the ZeroMQ framework?  I'm
> willing to give it a shot if it doesn't clash with the fundamental
> design.  This is pretty useful, especially in the finance industry,
> where "cancel on disconnect" has become a necessity.

I'd use heartbeating. Some network errors won't show up as
disconnections and you need heartbeating in any case.

-Pieter



More information about the zeromq-dev mailing list