Date: Fri, 28 Feb 2003 14:31:10 -0500 (EST) From: Garrett Wollman <wollman@lcs.mit.edu> To: Alexey Zelkin <phantom@FreeBSD.org.ua> Cc: freebsd-net@FreeBSD.ORG Subject: maxsockbuf is useless value {?|:-(} Message-ID: <200302281931.h1SJVAUg060319@khavrinen.lcs.mit.edu> In-Reply-To: <20030228130621.A16504@phantom.cris.net> References: <20030228130621.A16504@phantom.cris.net>
next in thread | previous in thread | raw e-mail | index | archive | help
<<On Fri, 28 Feb 2003 13:06:21 +0200, Alexey Zelkin <phantom@FreeBSD.org.ua> said: > Working with Sun JDK network code I have realized a need to provide some > range checking wrapper for setsockopt() in SO_{SND,RCV}BUF cases. Short > walk over documentation shown that maximum buffer size is exported via > kern.ipc.maxsockbuf sysctl. But attempt to use this value as maximum > buffer size was not successful -- it is too large for kernel. It is not intended that you do this. -GAWollman To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200302281931.h1SJVAUg060319>