Date: Wed, 29 Jul 1998 16:47:18 -0700 (PDT) From: Alex <garbanzo@hooked.net> To: current <current@FreeBSD.ORG> Subject: listen() and SOMAXCONN? Message-ID: <Pine.BSF.4.00.9807291645080.1022-100000@zippy.dyn.ml.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.00.9807291645080.1022-100000>