On Fri, Feb 28, 2003 at 02:31:10PM -0500, Garrett Wollman wrote:
> <<On Fri, 28 Feb 2003 13:06:21 +0200, Alexey Zelkin <[EMAIL PROTECTED]> 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.
> 
So we can just rip it?  :-)

Seriously, you didn't give any alternative.  How does one
knows the maximum allowed limit?  By just blindly trying?


Cheers,
-- 
Ruslan Ermilov          Sysadmin and DBA,
[EMAIL PROTECTED]               Sunbay Software AG,
[EMAIL PROTECTED]               FreeBSD committer,
+380.652.512.251        Simferopol, Ukraine

http://www.FreeBSD.org  The Power To Serve
http://www.oracle.com   Enabling The Information Age

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to