Subject: Re: Obtaining client IP address before accept(2)
To: der Mouse <mouse@Rodents.Montreal.QC.CA>
From: Tonnerre <tonnerre@thundrix.ch>
List: tech-kern
Date: 07/14/2005 00:40:20
--0F1p//8PRICkK4MW
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Salut,
On Wed, Jul 13, 2005 at 05:12:01PM -0400, der Mouse wrote:
> That's not the traditional behaviour and it's not what I see in my
> tests. Whether it's how it should be is debatable; I suspect that
> changing it would break enough code it's a non-starter in practice.
Mmm? I'd suggest that ending a connection is ending a connection, and
shouldn't really harm, since you're ending it anyway. Also, most software
should do a shutdown() before close()ing, and all network software
_must_ expect a Connection Reset condition, since it could happen
for other reasons as well.
Tonnerre
--0F1p//8PRICkK4MW
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (NetBSD)
iD8DBQFC1ZhUXUVlAbfmNMIRAvroAKCMFZv/Ahu/YsFlSRvVDOsoFh19LgCg3eSB
+xXGUT0rqnMVGCJ7S0d4A2c=
=zZH/
-----END PGP SIGNATURE-----
--0F1p//8PRICkK4MW--