BUG: SO_LINGER + shutdown() does not block?

From: Chris Evans (chris@scary.beasts.org)
Date: Sun Feb 11 2001 - 13:38:56 EST


Hi,

>From socket(7):

       SO_LINGER
...
              When enabled, a close(2) or shutdown(2) will not
              return until all queued messages for the socket
              have been successfully sent or the linger timeout
              has been reached.

I'm not seeing shutdown(2) block on a TCP socket. This is Linux kernel
2.2.16 (RH7.0). Is this a kernel bug, a documentation bug, or does it all
work fine and it's a Chris bug?

Cheers
Chris

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Feb 15 2001 - 21:00:17 EST