Path: utzoo!utgpu!cunews!bnrgate!brtph3!brchh104!brchs1!bnr.ca!rice.edu!sun-spots-request From: schorr@ead.dsa.com (Andrew J. Schorr) Newsgroups: comp.sys.sun Subject: maximum socket buffer size Keywords: Miscellaneous Message-ID: <2306@brchh104.bnr.ca> Date: 2 Apr 91 15:00:00 GMT Sender: news@brchh104.bnr.ca Organization: Sun-Spots Lines: 10 Approved: Sun-Spots@rice.edu X-Original-Date: 27 Mar 91 20:47:01 GMT X-Sun-Spots-Digest: Volume 10, Issue 75, message 27 X-Note: Submissions: sun-spots@rice.edu, Admin: sun-spots-request@rice.edu Hi. We have an application where we are increasing the UDP socket receive buffer size using setsockopt. Are the maximum values documented or obtainable by any other method than experimentation? Assuming one wanted the maximum possible buffer, how should this be programmed? Empirically, the maximum appears to be approximately 52000 bytes for SunOS 4.1.1, and 61000 for AIX 3.1. Thanks in advance, Andy