Subject: Re: Dumb/silly network programming question
To: Paul Goyette <paul@whooppee.com>
From: Bill Studenmund <wrstuden@netbsd.org>
List: current-users
Date: 12/09/2003 18:42:27
--EemXnrF2ob+xzFeB
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
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?
Take care,
Bill
--EemXnrF2ob+xzFeB
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (NetBSD)
iD8DBQE/1ogTWz+3JHUci9cRApfbAJ9Y2hYcwCee2F8whmokeOgXmbjeGwCfV/4Y
+uTE9XjEdBMCW1aFHEk98m0=
=GWXr
-----END PGP SIGNATURE-----
--EemXnrF2ob+xzFeB--