[zeromq-dev] Question about ZMQ_LINGER

Kris Wang wbwang1985 at gmail.com
Thu May 3 09:47:32 CEST 2012


I use push-pull,
set ZMQ_LINGER to 0,
zmq_close(mySocket), then
pending messages do not be discarded immediately, but until the pending
messages reach ZMQ_HWM and then block.

So the ZMQ_LINGER seems not work.

Thank you very much.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20120503/2ca11b17/attachment.htm>

More information about the zeromq-dev mailing list