From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30126 invoked by alias); 21 Oct 2003 07:16:30 -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 30103 invoked from network); 21 Oct 2003 07:16:28 -0000 Received: from unknown (HELO londo.lunn.ch) (80.238.139.98) by sources.redhat.com with SMTP; 21 Oct 2003 07:16:28 -0000 Received: from lunn by londo.lunn.ch with local (Exim 3.36 #1 (Debian)) id 1ABqkj-00044Z-00; Tue, 21 Oct 2003 09:16:25 +0200 Date: Tue, 21 Oct 2003 07:16:00 -0000 To: Matt Jerdonek Cc: Discussion eCos Message-ID: <20031021071625.GA14931@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/msg00352.txt.bz2 On Mon, Oct 20, 2003 at 04:27:11PM -0700, Matt Jerdonek wrote: > Hello again, > > I'm developing an application that sends small > transactions via TCP. The basic flow is 1) Bring up > the connection 2) Send request 3) Get response 4) > Bring down the connection. Simple enough ... > > But, when running any volume of transactions, all my > socket file descriptors get stuck in TIME_WAIT state. > When this occurs, my application is effectively > disabled until a file descriptor times out. Is this the client or the server end that has the problem? Are you doing a setsocketopt() for SO_REUSEADDR? 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