From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30638 invoked by alias); 2 Dec 2003 11:59:58 -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 30631 invoked from network); 2 Dec 2003 11:59:57 -0000 Received: from unknown (HELO gisp.dk) (62.79.61.146) by sources.redhat.com with SMTP; 2 Dec 2003 11:59:57 -0000 Received: (qmail 54916 invoked by uid 1001); 2 Dec 2003 12:18:02 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 2 Dec 2003 12:18:02 -0000 Date: Tue, 02 Dec 2003 11:59:00 -0000 From: Michael Sig Birkmose X-X-Sender: birkmose@server.gisp.dk To: ecos-discuss@sources.redhat.com Message-ID: <20031202131549.Y54717@server.gisp.dk> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [ECOS] Problems with sockets after 1132 requests X-SW-Source: 2003-12/txt/msg00025.txt.bz2 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. Furthermore I tried running gdb remote and debugging the server. Then it stop responding after 15 requests, and I was not able to figure out why. Does anyone have an idea of what could causing this? The hardware platform is i386, and I am using redboot. -- Michael Birkmose -- Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos and search the list archive: http://sources.redhat.com/ml/ecos-discuss