Article View: borland.public.cppbuilder.internet.socket
Article #2205Re: Terminating an operartion with TIdFTP
From: Remy Lebeau (TeamB)
Date: Mon, 17 Jul 2006 23:05
Date: Mon, 17 Jul 2006 23:05
18 lines
1442 bytes
1442 bytes
"Bill" <bill.ctr.cain@faa.gov> wrote in message news:44bc0a98$1@newsgroups.borland.com... > When a operation hangs (that is it does not return) What exactly are you doing that is hanging? Which version and build of Indy are you using? > for whatever reason, how do you properly terminate the operation? Disconnect the socket. That is about the only thing you can do. You could try also calling Abort() to close the data socket, but if things are hung, that is no guarantee that everything will release properly. It depends on what is actually causing the hang. Gambit
Technical Details
Message-ID:
<44bc1882@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news4.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<44bc0a98$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,12e721042ce4ec46 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: <44bc0a98$1@newsgroups.borland.com> Subject: Re: Terminating an operartion with TIdFTP Date: Mon, 17 Jul 2006 16:05:53 -0700 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: <44bc1882@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1153177730 68.69.17.41 (17 Jul 2006 16:08:50 -0700) Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news4.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail