🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: ESocketError

#5300
From: Hans Galema
Date: Sun, 19 Sep 2004 20:05
24 lines
1662 bytes
Remy Lebeau [TeamB] wrote:

 > That is why you need to use the OnError event to
> catch errors that are not directly catchable.

That's what I do also. But that was not the point. The thing
that I said was that the ShowMessage () in

     try
         {
         ClientSocket1->Open()
         }
     catch ( Exception &exception )
         {
         ShowMessage ( ... );
         }

comes up in case the host is invalid. I checked
that yesterday and today. I also said that other errors
should be treated elswere.

Testing on Win98SE. Build with bcb3.

Hans.
Technical Details
Message-ID: <414de5d6$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <414b8772$1@newsgroups.borland.com> <414bf1dc$1@newsgroups.borland.com> <414cb05a$1@newsgroups.borland.com> <414d4c10@newsgroups.borland.com> <414dde96@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,2a74cb97a91b535d
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Sun, 19 Sep 2004 22:05:01 +0200
From: Hans Galema <dontusethis@dontusethis.nl>
User-Agent: Mozilla Thunderbird 0.7 (Windows/20040616)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.internet.socket
Subject: Re: ESocketError
References: <414b8772$1@newsgroups.borland.com> <414bf1dc$1@newsgroups.borland.com> <414cb05a$1@newsgroups.borland.com> <414d4c10@newsgroups.borland.com> <414dde96@newsgroups.borland.com>
In-Reply-To: <414dde96@newsgroups.borland.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 129.125.201.248
Message-ID: <414de5d6$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1095624150 129.125.201.248 (19 Sep 2004 13:02:30 -0700)
Lines: 24
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail