Re: listen(2) backlog

Jan Schaumann <[email protected]> Tue, 11 Nov 2025 16:35:57 -0500
Newsgroups gmane.os.netbsd.devel.network
Message-ID <[email protected]>
Christos Zoulas <[email protected]> wrote:
> In article <[email protected]>,
> Jan Schaumann  <[email protected]> wrote:

> >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?
> 
> Looks like:
> 
>     https://nxr.netbsd.org/xref/src/sys/kern/uipc_socket2.c#274

Ah, interesting.  Thanks!  Looks like it's always been
that way.

-Jan