From owner-freebsd-current Wed Jul 29 16:46:44 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA03651 for freebsd-current-outgoing; Wed, 29 Jul 1998 16:46:44 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from zippy.dyn.ml.org (garbanzo@libya-193.ppp.hooked.net [206.169.227.193]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA03606 for ; Wed, 29 Jul 1998 16:46:33 -0700 (PDT) (envelope-from garbanzo@hooked.net) Received: from localhost (garbanzo@localhost) by zippy.dyn.ml.org (8.8.8/8.8.8) with SMTP id QAA01051 for ; Wed, 29 Jul 1998 16:47:19 -0700 (PDT) (envelope-from garbanzo@hooked.net) X-Authentication-Warning: zippy.dyn.ml.org: garbanzo owned process doing -bs Date: Wed, 29 Jul 1998 16:47:18 -0700 (PDT) From: Alex X-Sender: garbanzo@zippy.dyn.ml.org To: current Subject: listen() and SOMAXCONN? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Welp, the subject of where to get the value for the maximum number of sockets listen() can handle safely. On most other systems SOMAXCONN is defined in sys/socket.h. A quick check of the man page informs me that I should use the MIB kern.somaxconn. Well, I checked the header files, and SOMAXCONN is defined to 128 in sys/socket.h, and there is no kern.somaxconn MIB. Any thoughts? - alex | "Contrary to popular belief, penguins are not the salvation of modern | | technology. Neither do they throw parties for the urban proletariat." | | Powered by FreeBSD http://www.freebsd.org/ | To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message