[zeromq-dev] Forwarder stops forwarding

Martin Sustrik sustrik at 250bpm.com
Wed Jun 16 15:11:16 CEST 2010


Matt Weinstein wrote:
> Simple is good :-)
> 
> For a start, at least for XREQ/XREP queues, I think you can implement  
> this at the zmq::device ZMQ_QUEUE concentrator without requiring  
> socket mods.  Just tear down both sides when you fail to see a packet  
> in time, and use your own synthetic (uuid) identity for OOB  
> signaling.  Timing can be a simple third socket which just generates a  
> regular heartbeat so you can poll() the timing input along with the  
> two streams, that's what I'm using for timeouts.

What you say is that there should be independent TCP connection only to 
tranmit heartbeats?

Martin




More information about the zeromq-dev mailing list