lkml.org 
[lkml]   [1999]   [Feb]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: bind/connect: correct behaviour?
From
Date
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/

\
 
 \ /
  Last update: 2005-03-22 13:50    [W:0.026 / U:2.348 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site