listen(2) backlog

Jan Schaumann <[email protected]> Tue, 11 Nov 2025 11:53:48 -0500
Newsgroups gmane.os.netbsd.devel.network
Message-ID <[email protected]>
Hello,

listen(2) says that its 'backlog' parameter

"defines the maximum length the queue of pending
connections may grow to."

It looks to me that in reality the length of the queue
of pending complete connections ends up being backlog
_plus one_ before incoming SYNs are ignored.

Anybody know why that is?

-Jan