[zeromq-dev] ZMQ_LINGER doesn't seem to affect zmq_close and zmq_term

Pieter Hintjens ph at imatix.com
Tue Mar 12 11:35:02 CET 2013

Hi Yoshino,

Can you provide a minimal test case?


On Tue, Mar 12, 2013 at 10:18 AM, crocket <crockabiscuit at gmail.com> wrote:
> I have been using labview-zmq, which is LabVIEW binding for libzmq.
> I used various socket types, and I explain what I got.
> With ZMQ_LINGER set to 100, I sent a message and closed the socket and the
> context immediately.
> zmq_close and zmq_term both didn't wait for as long as ZMQ_LINGER.
> I had to invoke something like sleep(100) before zmq_close.
> Is there anything I don't understand?
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev

More information about the zeromq-dev mailing list