On Fri, Jul 27, 2012 at 6:26 PM, diffuser78 <[email protected]> wrote:
> What I want to know is that, ZMQ might have returned success upon buffering
> the message. But what if message is still in the queue and has not been
> delivered to the receiver for some reasons (say slow receiver). Is there a
> way I can peek into ZMQ queue to find out if my message M that I had sent in
> a non blocking way was indeed sent on the wire successfully? My lib needs to
> acknowledge to the app if there was an error after some time T for it to
> timeout on the message M.

It could be lost in the network, or the other side could crash while
processing. The best way is to send an acknowledgement back from the
receiver (also using ZeroMQ) and use that to determine whether the
other side has received and processed it.

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

Reply via email to