Subject: Re: Obtaining client IP address before accept(2)
To: None <>
From: Matthias Scheler <>
List: tech-kern
Date: 08/29/2005 03:49:44
In article <>,
	der Mouse <mouse@Rodents.Montreal.QC.CA> writes:
>> However, this is unnatural behavior, normally you just RST a
>> connection, which can be done by close().
> It can?  When I do that, I see a FIN segment, not an RST.

If you activate lingering with setsockopt(2) using a linger time of zero
you will get an RST on close(2).

	Kind regards

Matthias Scheler