Article View: borland.public.cppbuilder.internet.socket
Article #2421Re: ConnectTimeout + Indy9 -> Slowdown?
From: Mark Jacobs
Date: Fri, 28 Apr 2006 09:57
Date: Fri, 28 Apr 2006 09:57
21 lines
1997 bytes
1997 bytes
"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. -- Mark Jacobs DK Computing http://www.dkcomputing.co.uk
Technical Details
Message-ID:
<4451e679@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news3.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-mailReferences:
<444d23f3$1@newsgroups.borland.com> <444d4b56@newsgroups.borland.com> <444dfc73@newsgroups.borland.com> <444e503c$3@newsgroups.borland.com> <444e5b9b$1@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 From: "Mark Jacobs" <http://www.jacobsm.com/mjmsg?Borland%20Newsgroup> Newsgroups: borland.public.cppbuilder.internet.socket References: <444d23f3$1@newsgroups.borland.com> <444d4b56@newsgroups.borland.com> <444dfc73@newsgroups.borland.com> <444e503c$3@newsgroups.borland.com> <444e5b9b$1@newsgroups.borland.com> Subject: Re: ConnectTimeout + Indy9 -> Slowdown? Date: Fri, 28 Apr 2006 10:57:08 +0100 Lines: 23 Organization: DK Computing X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2869 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 X-RFC2646: Format=Flowed; Response NNTP-Posting-Host: 81.144.157.8 Message-ID: <4451e679@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1146218105 81.144.157.8 (28 Apr 2006 02:55:05 -0700) Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news3.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