Article View: borland.public.cppbuilder.internet.socket
Article #4654Re: Server Socket Problem
From: Hans Galema
Date: Wed, 12 Jan 2005 12:37
Date: Wed, 12 Jan 2005 12:37
38 lines
2491 bytes
2491 bytes
Patrick Wong wrote: > I begin to test my application prototype which is to serve a number of > client connections, each will connect in a burst manner. That is, the > clients will connect, send a small packet, then disconnect immediately. Does the server send anything to the client after it received a 'packet' from the client ? > I run the loading test with a test program, which generates many client > requests simultaneously and continually. How do you manage to request /simultaneously/ from one -client- application ? Although this test serves to determine the stability of your server it does not predict behaviour with many clients connected simultanuously and sending requests. But as a start it is ok. > After the server program runs for > a while (an hour or so), the test program starts to fail to connect to the > server prototype, with an error: > > 01/12/05 11:28:00 001960 001504 -- Fail To Connect. Error Code: 10061 How many connections have been done after an hour ? Does your test program also repeat the sequence connect, request and disconnect ? > Is there any way to check the socket status when error occurs? You mean the socket status of the server ? > I build the > application using the Internet Communication Suite available at > www.http://www.overbyte.be Both server and client ? Hans.
Technical Details
Message-ID:
<41e51a4e$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.multikabel.nl!lightspeed.eweka.nl!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<41e50bd0@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,9670bce8fe2a64d1 X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Wed, 12 Jan 2005 13:37:46 +0100 From: Hans Galema <notused@notused.nl> User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.internet.socket Subject: Re: Server Socket Problem References: <41e50bd0@newsgroups.borland.com> In-Reply-To: <41e50bd0@newsgroups.borland.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 129.125.201.248 Message-ID: <41e51a4e$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1105533518 129.125.201.248 (12 Jan 2005 04:38:38 -0800) Lines: 38 Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.multikabel.nl!lightspeed.eweka.nl!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail