Hi Guys,

In my application I'm using push\pull sockets with ZMQ_HWM option calling the 
non-blocking send API.
When we first evaluated ZMQ we noticed that in high QPS the send operation is 
sometimes returning EAGAIN error code and I read it usually means that we need 
to retry so we implemented a retry logic for this case.
Lately I noticed that when the HWM queue is full I also get the same error. My 
problem is that if queue is full there is no point to retry (if for some reason 
the receiver is not connected) so I would like to "know" somehow that the queue 
is full and get a different error code and just discard the message.

Any advice on how I can implement this logic?

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

Reply via email to