Skip to content
Discussion options

You must be logged in to vote

In OS, connection establishment is done like below:

  1. 3-way handshaking
  2. established (3-way handshaked, ESTABLISHED state in TCP, but program does not call accept(2))
  3. completely established (the program calls accept(2))

The backlog in KENS the limits the number connections in the first stage.
Because there are large time intervals between connect requests, the number is always 0 or 1.

On the other hand, in the modern OSes (like Linux after v2.2), the backlog limits the number of connections in the first and second stages.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Meraroo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants