Article View: borland.public.cppbuilder.internet.socket
Article #2408Re: ConnectTimeout + Indy9 -> Slowdown?
From: Remy Lebeau (TeamB)
Date: Tue, 25 Apr 2006 16:34
Date: Tue, 25 Apr 2006 16:34
26 lines
1900 bytes
1900 bytes
"Frank Gruber" <HVFDMIPUMFPS@spammotel.com> wrote in message news:444dfc73@newsgroups.borland.com... > I should consider redesigning that part of the app to have one thread > which is monitoring the connect timeout in all idhttp components of all > other threads and avoid using the ConnectTimeout property. What do you > think? If you are making requeries to the same server(s) each time, then you might consider using HTTP keep-alives, so that the connections are not dropped after each request and thus don't need to be reconnected each time. > What exactly is the ConnectTimeout for. Exactly what its name suggests it is - a timeout for Connect(). If Connect() does not establish a connection before the timeout elapses, then the socket is closed and an exception is thrown. > I would assume it is for an incomplete "three way tcp handshake" > but not sure about that? No. Gambit
Technical Details
Message-ID:
<444e503c$3@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news3.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-mailReferences:
<444d23f3$1@newsgroups.borland.com> <444d4b56@newsgroups.borland.com> <444dfc73@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: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.internet.socket References: <444d23f3$1@newsgroups.borland.com> <444d4b56@newsgroups.borland.com> <444dfc73@newsgroups.borland.com> Subject: Re: ConnectTimeout + Indy9 -> Slowdown? Date: Tue, 25 Apr 2006 09:34:06 -0700 Lines: 28 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 68.69.17.41 Message-ID: <444e503c$3@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1145983036 68.69.17.41 (25 Apr 2006 09:37:16 -0700) Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.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