Messages in this thread | | | Subject | Re: NONBLOCKing close blocks in named | Date | Fri, 17 Sep 1999 23:59:46 +0100 (BST) | From | Alan Cox <> |
| |
> If a socket file description has the O_NONBLOCK flag set, a close syscall > should return almost straight away, right?
It has no bearing on this at all.
If SO_LINGER is set the close() blocks. If SO_LINGER is not set it doesnt block. Ok thats the theory anyway.
Check the SO_LINGER settings
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |