From owner-freebsd-current Fri Apr 13 7:16:39 2001 Delivered-To: freebsd-current@freebsd.org Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by hub.freebsd.org (Postfix) with ESMTP id AB16337B43F for ; Fri, 13 Apr 2001 07:16:33 -0700 (PDT) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.9.3/8.9.3) id KAA58869; Fri, 13 Apr 2001 10:16:07 -0400 (EDT) (envelope-from wollman) Date: Fri, 13 Apr 2001 10:16:07 -0400 (EDT) From: Garrett Wollman Message-Id: <200104131416.KAA58869@khavrinen.lcs.mit.edu> To: Alfred Perlstein Cc: current@FreeBSD.ORG Subject: Re: SOMAXCONN -- not tunable? In-Reply-To: <20010413040125.E976@fw.wintelcom.net> References: <200104130008.f3D08nM61301@prism.flugsvamp.com> <20010413040125.E976@fw.wintelcom.net> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG < said: > Actually, the correct fix is most likely to redefine it to -1. :) POSIX.1-200x draft 5 has this to say: Implementations shall support values of backlog up to SOMAXCONN, defined in If listen( ) is called with a backlog argument value that is less than 0, the function behaves as if it had been called with a backlog argument value of 0. A backlog argument of 0 may allow the socket to accept connections, in which case the length of the listen queue may be set to an implementation-defined minimum value. So, SOMAXCONN is supposed to be a minimum maximum. -GAWollman To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message