🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: ConnectTimeout + Indy9 -> Slowdown?

#2422
From: Frank Gruber
Date: Fri, 28 Apr 2006 11:46
22 lines
2128 bytes
Mark Jacobs schrieb:
> "Frank Gruber" <ZJQBBYSESPEZ@spammotel.com> wrote in message 
> news:444e5b9b$1@newsgroups.borland.com...
>> BTW: looking into the sources seem to tell me a different story about the 
>> performance difference.
>>
>> LSleepTime := 125;
>> IdGlobal.Sleep(LSleepTime);
>>
>> If a timeout is given the main-thread checks in a loop for a successful 
>> connection. At the beginning of the loop there is a delay of 125ms before 
>> each check for success. Not to bad for the internet but for intranet apps 
>> not optimal. I think I will customize the Indy sources at that point.
> 
> I am afraid that is bad programming on the part of the Indy team. They have a 
> lot of work to do at the moment, what with trying to get Indy 10 to work with 
> C++ at all! So, this probably won't be fixed any time soon.

Not a problem at all. Fixed it myself meanwhile. I'm quite happy with 
Indy, as I have the sources I can fix what does not meet my requirements.

Frank.
Technical Details
Message-ID: <44520079$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <444d23f3$1@newsgroups.borland.com> <444d4b56@newsgroups.borland.com> <444dfc73@newsgroups.borland.com> <444e503c$3@newsgroups.borland.com> <444e5b9b$1@newsgroups.borland.com> <4451e679@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,726a735ed01da85d
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Fri, 28 Apr 2006 13:46:19 +0200
From: Frank Gruber <HVFDMIPUMFPS@spammotel.com>
User-Agent: Thunderbird 1.5.0.2 (Windows/20060308)
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.internet.socket
Subject: Re: ConnectTimeout + Indy9 -> Slowdown?
References: <444d23f3$1@newsgroups.borland.com> <444d4b56@newsgroups.borland.com> <444dfc73@newsgroups.borland.com> <444e503c$3@newsgroups.borland.com> <444e5b9b$1@newsgroups.borland.com> <4451e679@newsgroups.borland.com>
In-Reply-To: <4451e679@newsgroups.borland.com>
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 83.236.157.18
Message-ID: <44520079$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1146224761 83.236.157.18 (28 Apr 2006 04:46:01 -0700)
Lines: 22
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail