From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23023 invoked by alias); 21 Oct 2003 19:11:49 -0000 Mailing-List: contact ecos-discuss-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@sources.redhat.com Received: (qmail 23005 invoked from network); 21 Oct 2003 19:11:48 -0000 Received: from unknown (HELO londo.lunn.ch) (80.238.139.98) by sources.redhat.com with SMTP; 21 Oct 2003 19:11:48 -0000 Received: from lunn by londo.lunn.ch with local (Exim 3.36 #1 (Debian)) id 1AC1v0-00066P-00; Tue, 21 Oct 2003 21:11:46 +0200 Date: Tue, 21 Oct 2003 19:11:00 -0000 To: Matt Jerdonek Cc: Discussion eCos Message-ID: <20031021191146.GL1165@lunn.ch> Mail-Followup-To: Matt Jerdonek , Discussion eCos References: <20031020232711.41572.qmail@web14208.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031020232711.41572.qmail@web14208.mail.yahoo.com> User-Agent: Mutt/1.5.4i From: Andrew Lunn Subject: Re: [ECOS] TCP Transactions X-SW-Source: 2003-10/txt/msg00380.txt.bz2 > 3) Change the MSL timeout from 30sec to something > smaller. Is there any interest in making the MSL > timer something configurable? It already is configurable. 1) Uses sysctl(). Its something like net.inet.tcp.msl. You can probably find its proper name using the sysctl test program. 2) The network stack makes a lot of its variables global. tcp_msl is no exception. But there is a bit of jiggery-pokery going on, so its actually called cyg_tcp_msl. So just do something like... extern int cyg_tcp_msl; /* 'Orrible hack warning. Play around with the internal timer variables of the network stack. Yuck. */ cyg_tcp_msl = 10; I would spend some time to see what else uses this timer. This might change other things are well as how long sockets take to close. Andrew -- Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos and search the list archive: http://sources.redhat.com/ml/ecos-discuss