Article View: borland.public.cppbuilder.internet.socket
Article #4994Re: Possible memory leak with TIdTCPClient?
From: Remy Lebeau (TeamB)
Date: Tue, 09 Nov 2004 17:54
Date: Tue, 09 Nov 2004 17:54
19 lines
1549 bytes
1549 bytes
"Drew" <aemsley@brightwell.org.uk> wrote in message news:4190cccb$1@newsgroups.borland.com... > 1. When I try to connect, I specify a connect timeout of 5000msecs, > but the timeout exception isn't raised until about 21 seconds after > the connection attempt. Any ideas why? I don't see how that can be possible. Connect() woud force a disconnect at 5000 milliseconds and then throw an Exception so Connect() returns immediately. > 2. If a connection attempt fails, do I need to do anything > to tidy up the connection? No. Gambit
Technical Details
Message-ID:
<4191040b$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<418ff4b9$1@newsgroups.borland.com> <4190014c$1@newsgroups.borland.com> <4190cccb$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,357e5d574910e956 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: <418ff4b9$1@newsgroups.borland.com> <4190014c$1@newsgroups.borland.com> <4190cccb$1@newsgroups.borland.com> Subject: Re: Possible memory leak with TIdTCPClient? Date: Tue, 9 Nov 2004 09:54:29 -0800 Lines: 21 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: <4191040b$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1100022795 68.69.17.41 (9 Nov 2004 09:53:15 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail