From: cgf AT cygnus DOT com (Christopher Faylor) Subject: Re: select() and EOF 24 Sep 1998 10:22:40 -0700 Message-ID: <19980924124230.A1952.cygnus.cygwin32.developers@cygnus.com> References: <01BDE7FB DOT 9C70D610 AT sos> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii To: Sergey Okhapkin , "'cygwin32-developers AT cygnus DOT com'" On Thu, Sep 24, 1998 at 08:40:47PM +0400, Sergey Okhapkin wrote: >Christopher Faylor wrote: >> Yup. It looks like it. I just tested this on Linux. It should flag both an >> exception and a "read ready". >> >> I'll make that change. >> > >Don't forget about pipes. When write end of pipe is closed >PeekNamedPipe() fails with error set to ERROR_BROKEN_PIPE. That's the only change I made, actually. Sockets should already handle this and I don't think it works for any other type besides pipes does it? -- cgf AT cygnus DOT com http://www.cygnus.com/