Subject: Re: several messages
To: Todd Vierling <tv@pobox.com>
From: Perry E. Metzger <perry@piermont.com>
List: tech-net
Date: 09/14/1998 21:10:33
Todd Vierling writes:
> : > Then what use is SOMAXCONN as it is defined in <sys/socket.h>?
> : 
> : On ordinary machines in ordinary circumstances it will be ordinarily
> : useful.
> 
> Please explain.  If something is using SOMAXCONN, it wants the highest
> number it can get.  If it gets a number which won't yield the
> system-specified maximum, then that doesn't fulfill SOMAXCONN's purpose.
> `Huh?'

There is no purpose to limiting the size of the backlog, which is,
after all, just a kernel constant, just to fullfill the notion that
SOMAXCONN has to have a "purpose". Limiting that size so that admins
have to recompile their kernels just so that SOMAXCONN "does
something" is not reasonable.

In the new world order, SOMAXCONN just ends up being a convenient
default for the average application under average circumstances.

Perry