Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Jun 1997 10:57:19 +0100
From:      Josef Karthauser <joe@pavilion.net>
To:        hackers@freebsd.org
Subject:   Suggested changed to sys/socket.h
Message-ID:  <19970620105719.59968@pavilion.net>

next in thread | raw e-mail | index | archive | help
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]




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19970620105719.59968>