Subject: Re: Dumb/silly network programming question
To: Paul Goyette <>
From: Bill Studenmund <>
List: current-users
Date: 12/09/2003 18:42:27
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,


Content-Type: application/pgp-signature
Content-Disposition: inline

Version: GnuPG v1.2.3 (NetBSD)