From owner-freebsd-hackers Fri Jun 20 02:57:59 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id CAA24720 for hackers-outgoing; Fri, 20 Jun 1997 02:57:59 -0700 (PDT) Received: from florence.pavilion.net (mailrelay1.pavilion.net [194.242.128.25]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id CAA24708 for ; Fri, 20 Jun 1997 02:57:54 -0700 (PDT) Received: (from joe@localhost) by florence.pavilion.net (8.8.5/8.8.5) id KAA29339; Fri, 20 Jun 1997 10:57:19 +0100 (BST) Message-ID: <19970620105719.59968@pavilion.net> Date: Fri, 20 Jun 1997 10:57:19 +0100 From: Josef Karthauser To: hackers@freebsd.org Subject: Suggested changed to sys/socket.h Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.74 Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I've been playing around with redefining SOMAXCONN in my kernel configuration file. It doesn't half make a lot of noise at compile time. Is there any reason why /usr/src/sys/sys/socket.h shouldn't be changed like this: *** socket.h Fri Aug 30 03:18:24 1996 --- socket-new.h Fri Jun 20 10:55:14 1997 *************** *** 249,255 **** --- 249,257 ---- /* * Maximum queue length specifiable by listen. */ + #ifndef SOMAXCONN #define SOMAXCONN 128 + #endif /*!SOMAXCONN*/ /* * Message header for recvmsg and sendmsg calls. Joe -- Josef Karthauser Technical Manager Email: joe@pavilion.net Pavilion Internet plc. [Tel: +44 1273 607072 Fax: +44 1273 607073]