Article View: borland.public.cppbuilder.internet.socket
Article #2347Re: Is there a way to allow an 'ABORT' from a TClientSocket connect?
From: Remy Lebeau (TeamB)
Date: Wed, 10 May 2006 22:34
Date: Wed, 10 May 2006 22:34
15 lines
1486 bytes
1486 bytes
"Brian" <brian@nospam.org> wrote in message news:44626471$1@newsgroups.borland.com... > I do not delete it until I have a final verdict on the connection > status To do what you are asking for, you must delete it when the Abort button is clicked. That is the only way to abort TClientSocket in non-blocking mode. Besides, the user clicking the Abort button sounds like a final verdict to me - the user doesn't care if the connection succeeds or fails, they want it to stop immediately. So you have to delete it to stop it. Gambit
Technical Details
Message-ID:
<44626ae2$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news2.volia.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<44625587$1@newsgroups.borland.com> <44625f81@newsgroups.borland.com> <44626471$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,dfc86feaed00e40 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: <44625587$1@newsgroups.borland.com> <44625f81@newsgroups.borland.com> <44626471$1@newsgroups.borland.com> Subject: Re: Is there a way to allow an 'ABORT' from a TClientSocket connect? Date: Wed, 10 May 2006 15:34:05 -0700 Lines: 17 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: <44626ae2$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1147300578 68.69.17.41 (10 May 2006 15:36:18 -0700) Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news2.volia.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail