Subject: Re: CVS commit: basesrc/lib/libc/sys
To: Jaromir Dolecek <jdolecek@netbsd.org>
From: Jason R Thorpe <thorpej@wasabisystems.com>
List: tech-kern
Date: 01/04/2002 14:00:18
On Fri, Jan 04, 2002 at 11:00:36PM +0100, Jaromir Dolecek wrote:
> If you think about it, it's more sensible to return POLLIN
> rathen than POLLHUP there - it's perfectly valid when other end
> closes the connection, this is same as when the end-of-file is
> encountered for files. Further read on such remotely closed socket
> then returns with zero length of course, not an error.
Ok, that's fine. I just wanted to make sure we were compatible with
what is essentially the reference implementation (Solaris).
--
-- Jason R. Thorpe <thorpej@wasabisystems.com>