[zeromq-dev] Disconnect appears not to respect linger

Christian Kamm kamm at incasoftware.de
Fri Jul 5 17:26:59 CEST 2013

On 07/04/2013 11:47 AM, Ben Gray wrote:
> It appears that disconnect, and unbind, discard all pending messages
> instantly unlike when closing a socket any pending data will wait for
> the linger setting before being discarded.
> Is this the expected behaviour, in which case I recommend we update the
> documentation to mention it, or is this a bug?

I'd like to second this question, in particular since the behavior seems
to be the opposite for inproc connections - there disconnect lingers
indefinitely regardless of the ZMQ_LINGER variable.

The desired behavior is that disconnect and unbind respect the linger


More information about the zeromq-dev mailing list