Re: bind/connect: correct behaviour?

Andi Kleen (ak@muc.de)
07 Feb 1999 21:40:30 +0100


In article <199902071515.QAA01137@fyunch.ExperTeam.de>,
rsch@ExperTeam.de (Roderich Schupp) writes:

> Obviously the process has just connected to itself
> on port 515 - though it never did an accept(). Is this to be expected?
> This is with kernel 2.2.1.

Yes. The three-way handshake for a listen socket proceeds asynchronous to
the process. accept only sees connections when they are completely established.

-Andi

-- 
This is like TV. I don't like TV.

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/