tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: listen(2) backlog



In article <aRNqHA_rHgBJ3poz%netmeister.org@localhost>,
Jan Schaumann  <jschauma%netmeister.org@localhost> wrote:
>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?

Looks like:

    https://nxr.netbsd.org/xref/src/sys/kern/uipc_socket2.c#274

christos



Home | Main Index | Thread Index | Old Index