🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.socket
Article #1763

Re: Indy9 - BCB5 - FTP server - access violation errors

#1763
From: Hans Galema
Date: Wed, 08 Nov 2006 15:12
19 lines
1528 bytes
Hanne B wrote:

> How do I disconnect the client if the above cannot be used ?

Don't know. But you could catch the AV and neglect it.

   try
     {
      AThread->Connection->Disconnect();
     }
   catch ( Exception &Exception )
     {
     // do nothing
     }

(You know to run this outside the IDE? Otrherwise you will still
see the exception).

Hans.
Technical Details
Message-ID: <4551f425$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.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
References: <4551ac92@newsgroups.borland.com> <4551ad3e$1@newsgroups.borland.com> <4551ba0d$1@newsgroups.borland.com> <4551be9b$1@newsgroups.borland.com> <4551ef09@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,942ca0ee33498431
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Wed, 08 Nov 2006 16:12:12 +0100
From: Hans Galema <notused@notused.nl>
User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.internet.socket
Subject: Re: Indy9 - BCB5 - FTP server - access violation errors
References: <4551ac92@newsgroups.borland.com> <4551ad3e$1@newsgroups.borland.com> <4551ba0d$1@newsgroups.borland.com> <4551be9b$1@newsgroups.borland.com> <4551ef09@newsgroups.borland.com>
In-Reply-To: <4551ef09@newsgroups.borland.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 145.98.201.248
Message-ID: <4551f425$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1162998821 145.98.201.248 (8 Nov 2006 07:13:41 -0700)
Lines: 19
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.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