about backlog2 #68
-
제가 정확하게 이해했는지는 모르겠지만 backlog2 에서 6개의 connect 요청을 10msec 단위로 보내고, 이 테스트 케이스에서 backlog 가 1로 설정되어 있으므로 connect 요청은 1개만 backlog 에 남아있고 나머지는 discard 되므로 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
In OS, connection establishment is done like below:
The On the other hand, in the modern OSes (like Linux after v2.2), the |
Beta Was this translation helpful? Give feedback.
In OS, connection establishment is done like below:
accept(2)
)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.