[zeromq-dev] looking inside ZMQ queue
Chuck Remes
lists at chuckremes.com
Mon Jul 30 21:01:53 CEST 2012
On Jul 30, 2012, at 1:48 PM, diffuser78 wrote:
> Ok, so once ZMQ sends to transport, zmq removes it from its internal queue. Is there a way to know when would ZMQ do that ? Or may be build one ? The customers of my lib want TCP like semantics and I need to tell if the buffer is copied successfully to the kernel.
>
> Any help on this is greatly appreciated.
>
> Thanks.
If your customers need TCP-like semantics, then why not create FIN/ACK (and others) as zeromq messages in your application?
Every person who has responded to this thread has already told you how to solve this. The receiver must ACK the message. Then, and *only* then, will you know that the message has been sent and received.
cr
More information about the zeromq-dev
mailing list