hackers,

i'm seeing some fairly odd behavior from accept(2) when the connecting 
socket goes away at just the right time.  the timing is fairly funky, so i 
don't know if i can easily whip up a repro for this, but what i'm seeing is:

accept returns a positive value (ie: not an error), but sets the addrlen to 
zero.  a subsequent call to getsockname with the new socket returns -1 and 
sets errno to ECONNRESET.

is this the expected behavior?  can someone explain?  i haven't observed 
this on any other platforms i've been hacking lately.

thanks.
--
                    -greg
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to