Subject: Re: Dumb/silly network programming question
To: Paul Goyette <email@example.com>
From: Bill Studenmund <firstname.lastname@example.org>
Date: 12/09/2003 18:42:27
Content-Type: text/plain; charset=us-ascii
On Tue, Dec 09, 2003 at 06:30:46PM -0800, Paul Goyette wrote:
> Yup. I verified, and I get return value of -1 for the read, and errno
> is set to EAGAIN. This is on the first read after the other end of the
> connection has been SIGKILLed. I do NOT get a return value of zero,
> that was a typo in the original post.
Weird. I get 0 in my app.
SIGKILL will end up calling close() on the socket.
What happens the next time you read?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (NetBSD)
-----END PGP SIGNATURE-----