🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Indy TCP C/S: Timeout , Concurrent access, Number of threads

#3289
From: Vladimir Stefanovic
Date: Thu, 06 Oct 2005 14:31
19 lines
1446 bytes
> (Maybe the thread is not terminated?)

I think I have found the 'bug'. I added:
   AThread->Connection->Disconnect();
...at the end of server code, and now the
speed is OK.

I thought that:
   IdTCPClient->Disconnect();
... will also close the thread (connection) on
server side.





-- 
Best regards,
Vladimir Stefanovic 
Technical Details
Message-ID: <434534b1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!novia!feed5.newsreader.com!newsreader.com!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <434503e6$1@newsgroups.borland.com> <43452c1b@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,cf1d5664f47b34d3
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Vladimir Stefanovic" <antivari@po.sbb.co.yu>
Newsgroups: borland.public.cppbuilder.internet.socket
References: <434503e6$1@newsgroups.borland.com> <43452c1b@newsgroups.borland.com>
Subject: Re: Indy TCP C/S: Timeout , Concurrent access, Number of threads
Date: Thu, 6 Oct 2005 16:31:18 +0200
Lines: 21
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Response
NNTP-Posting-Host: 82.117.212.65
Message-ID: <434534b1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1128608945 82.117.212.65 (6 Oct 2005 07:29:05 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!novia!feed5.newsreader.com!newsreader.com!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail