🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.socket
Article #4653

Server Socket Problem

#4653
From: Patrick Wong
Date: Wed, 12 Jan 2005 11:36
24 lines
1742 bytes
Dear all,

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.

I run the loading test with a test program, which generates many client
requests simultaneously and continually.  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


Error code 10061 means the attempt to connect was forcefully rejected.  At
that time I also fail to telnet to the listening port of the server.

Is there any way to check the socket status when error occurs?  I build the
application using the Internet Communication Suite available at
www.http://www.overbyte.be


Thanks for any kind advice.
Patrick
Technical Details
Message-ID: <41e50bd0@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,9670bce8fe2a64d1,start
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Patrick Wong" <patrickwong@computer.org>
Newsgroups: borland.public.cppbuilder.internet.socket
Subject: Server Socket Problem
Date: Wed, 12 Jan 2005 19:36:47 +0800
Lines: 26
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: <41e50bd0@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1105529808 203.82.252.252 (12 Jan 2005 03:36:48 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail