This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problems with sockets after 1132 requests


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]