Closing non-blocking network sockets

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Wed, 13 May 1998 23:17:48 +0200

--MimeMultipartBoundary
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

What about SO_LINGER? Some sockets will have the default value for
SO_LINGER, some will have it forced off.

What happens if a non-blocking socket has SO_LINGER turned on? Does the
close fail completely, or is the socket queued for a automated close
after the linger period (most likely)?

Either way we lose track of a used FD until it is fully shut down.

/Henrik

--MimeMultipartBoundary--
Received on Tue Jul 29 2003 - 13:15:49 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:11:47 MST