Article View: borland.public.cppbuilder.internet.socket
Article #4669Re: Server Socket Problem
From: Patrick Wong
Date: Thu, 13 Jan 2005 09:29
Date: Thu, 13 Jan 2005 09:29
33 lines
2564 bytes
2564 bytes
"Hans Galema" <notused@notused.nl> wrote in message news:41e633ec$1@newsgroups.borland.com... > > That is not the way it is done here usually. Could you please reply to > every poster ? A reason that seperate replys are favorable is that > a newsreader -well not all- can be set up in such a way that they warn > when there is a reply on a post of ones own. > Sure, no problem > > No not really. But please tell if if this happens after an hour > if only one client sent a very large message or only if > there were many clients. Could you give numbers ? > During the last test all clients sent short packet (less than 20bytes) and disconnected immediately. The log file shows all clients were disconnected at when the server started to idle. It was still not listen (or not accept, no idea) after more than five minutes at when I stopped the application. The test program generated about 50 clients requesting for connection at that time. > If the server does not recover after some time then this scenario > does not hold and you should look for the real reason. > The ICS author recommends to add a button to set the server socket to listen again. But since the server application is assumed to be self-running without regular monitoring, I add a timer to check the socket status instead. If it is not listening when being polled, it is kicked to listen again. I'll rerun the test again to see whether there are new findings. Regards, Patrick
Technical Details
Message-ID:
<41e63f98@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!212.101.4.254.MISMATCH!solnet.ch!solnet.ch!newsfeed.freenet.de!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> <41e5d556@newsgroups.borland.com> <41e633ec$1@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 From: "Patrick Wong" <patrickwong@computer.org> Newsgroups: borland.public.cppbuilder.internet.socket References: <41e50bd0@newsgroups.borland.com> <41e5d556@newsgroups.borland.com> <41e633ec$1@newsgroups.borland.com> Subject: Re: Server Socket Problem Date: Thu, 13 Jan 2005 17:29:58 +0800 Lines: 35 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 NNTP-Posting-Host: 203.82.252.252 Message-ID: <41e63f98@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1105608600 203.82.252.252 (13 Jan 2005 01:30:00 -0800) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!212.101.4.254.MISMATCH!solnet.ch!solnet.ch!newsfeed.freenet.de!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