From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16376 invoked by alias); 2 Dec 2003 12:53:19 -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 16363 invoked from network); 2 Dec 2003 12:53:18 -0000 Received: from unknown (HELO londo.lunn.ch) (80.238.139.98) by sources.redhat.com with SMTP; 2 Dec 2003 12:53:18 -0000 Received: from lunn by londo.lunn.ch with local (Exim 3.36 #1 (Debian)) id 1ARA1j-00057F-00; Tue, 02 Dec 2003 13:53:15 +0100 Date: Tue, 02 Dec 2003 12:53:00 -0000 To: Michael Sig Birkmose Cc: ecos-discuss@sources.redhat.com Message-ID: <20031202125315.GE21590@lunn.ch> Mail-Followup-To: Michael Sig Birkmose , ecos-discuss@sources.redhat.com References: <20031202131549.Y54717@server.gisp.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031202131549.Y54717@server.gisp.dk> User-Agent: Mutt/1.5.4i From: Andrew Lunn Subject: Re: [ECOS] Problems with sockets after 1132 requests X-SW-Source: 2003-12/txt/msg00027.txt.bz2 On Tue, Dec 02, 2003 at 01:18:02PM +0100, Michael Sig Birkmose wrote: > Hi List, > > I have some problems handling many requests to a tcp server in eCos 2.0. > > I am using the code found in net/common/v2_0/tests/server_test.c (I don't > modify it at all) > > I have no problems connecting to the server on that port. However, when I > continuosly send tcp requests to the eCos tcp server, reads the response, > and then closes the socket, the server always stops responding after 1132 > requests has been handled. What are you using for a client? I've got a test running at the moment using the synth target and a little script: while true ; do cat /dev/zero | netcat 192.168.10.10 7734 ; done Its run for other 20000 connections without a problem. 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