Messages in this thread |  | | Date | Fri, 18 May 2001 22:52:30 +0200 | From | Kurt Roeckx <> | Subject | Re: Kernel bug with UNIX sockets not detecting other end gone? |
| |
On Fri, May 18, 2001 at 09:02:51PM +0100, Alan Cox wrote: > > What I'm seeing however in an other program is that select says I > > can read from the socket, and that read returns 0, with errno set > > to EGAIN. I call select() again, with returns and says I can read > > No no no. If the read does not return -1 it does not change errno. EOF isnt > an error.
Of course, how stupid of me.
Kurt
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |