I'm looking into handling vanishing subscribers from a XPUB_NODROP xpub socket 
- like a subscriber dropping dead without a disconnect (eg connectivity loss)

I need to have dead subscribers eventually removed so progress on the xpub 
continues for the rest; publisher blocking for a few seconds is ok


asking before I try it: is ZMQ_TCP_KEEPALIVE on the publisher side an option to 
achieve this (TCP transport only ok)?

I'm speculating a socket with SO_KEEPALIVE will be eventually closed 
publisher-side if no response to keepalive probes, and assume as a consequence 
the subscription would be removed and progress would resume, but looking at 
libzmq that's still a guess for me

thanks in advance,

Michael


_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to