🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: ESocketError

#5295
From: JD
Date: Sun, 19 Sep 2004 15:27
23 lines
1664 bytes
Hans Galema <dontusethis@dontusethis.nl> wrote:
>
> [...] Well what I think is what happens. Here an exception
> is trown when the Host does not exist:

It did indeed get thrown but I couldn't catch it. I was
forcing the exception for both cases when the Host did not
exist and when the server wasn't running.

>If the host exists but the server is not running then
>indeed this exception will not throw and you have to
>look at other events.

The exception was thrown. The problem was that because the Open
method had to timeout before it was thrown, my catch had already
been passed over.

I don't know what happens if I change it from non-blocking
mode but I will. I still haven't figured out what I'm going to
do with this yet, what best meets my needs.

~ JD
Technical Details
Message-ID: <414da55a$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>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,2a74cb97a91b535d
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "JD" <nospam@nospam.com>
Sender: "JD" <nospam@nospam.com>
Reply-To: "JD" <nospam@nospam.com>
Subject: Re: ESocketError
Newsgroups: borland.public.cppbuilder.internet.socket
X-User-Info: 172.135.54.80     
References: <414b8772$1@newsgroups.borland.com> <414bf1dc$1@newsgroups.borland.com> <414cb05a$1@newsgroups.borland.com> <414d4c10@newsgroups.borland.com>
NNTP-Posting-Host: 207.105.83.66
Message-ID: <414da55a$1@newsgroups.borland.com>
Date: 19 Sep 2004 08:27:22 -0700
X-Trace: newsgroups.borland.com 1095607642 207.105.83.66 (19 Sep 2004 08:27:22 -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