On 12/13/2013 04:12 AM, artemv zmq wrote:
> Is there a way to tell ZMQ  to handle tcp-RST?  If remote peer abruptly
> goes down OS kernel sends RST to client. Right? So, can ZMQ handle that,
> and stop collecting messages inside in-mem queue for the remote peer
> which is down.

If a TCP connection is disconnected (due to RST or otherwise), then a 
ZeroMQ bind socket will destroy its queue with that connection and stop 
queueing, and a connect socket will retain its queue but stop sending 
until the connection is restored.

If you want to prevent queuing in all cases, set HWM to 0.

Justin
_______________________________________________
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to