From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23517 invoked by alias); 12 Jun 2007 21:58:47 -0000 Received: (qmail 23509 invoked by uid 22791); 12 Jun 2007 21:58:46 -0000 X-Spam-Check-By: sourceware.org Received: from londo.lunn.ch (HELO londo.lunn.ch) (80.238.139.98) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 12 Jun 2007 21:58:44 +0000 Received: from lunn by londo.lunn.ch with local (Exim 3.36 #1 (Debian)) id 1HyENr-00087M-00; Tue, 12 Jun 2007 23:58:39 +0200 Date: Tue, 12 Jun 2007 23:03:00 -0000 To: Juergen Lambrecht Cc: Andrew Lunn , ecos-discuss@ecos.sourceware.org Message-ID: <20070612215839.GX26816@lunn.ch> Mail-Followup-To: Juergen Lambrecht , Andrew Lunn , ecos-discuss@ecos.sourceware.org References: <466EC08A.8090704@televic.com> <20070612160753.GP26816@lunn.ch> <466EF583.2090003@telenet.be> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <466EF583.2090003@telenet.be> User-Agent: Mutt/1.5.13 (2006-08-11) From: Andrew Lunn X-IsSubscribed: yes Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: Re: [ECOS] max IP packet size = 9216 B. Why? X-SW-Source: 2007-06/txt/msg00134.txt.bz2 > sendto returns the error code 322 or EMSGSIZE "Message too long". > I forgot to tell that's because the high water level of the send socket > (o->so_snd.sb_hiwat) is 9216 B (=0x2400) (in file > bsd_tcpip/current/src/sys/kern/uipc_socket.c:523). > > I will try to increase the socket's high water level (after I have found > where it is set ;-). I think you can set it with setsockopt(). The option names are SO_SNDBUF & SO_RCVBUF. However, there might be a system check to ensure they are not too large. Andrew -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss