[zeromq-dev] Disconnect appears not to respect linger

Martin Hurton hurtonm at gmail.com
Sun Jul 7 21:03:28 CEST 2013

Hi Ben, I wonder if unbind should close any connections at all. The
man page says it just closes the listener, not connections accepted by
that listener.
I think disconnect should respect the linger value.

On Thu, Jul 4, 2013 at 11:47 AM, Ben Gray <ben at benjamg.com> 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?
> _______________________________________________
> 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