🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.web
Article #1613

Re: nmhttp - different between timeout and failure

#1613
From: Steffan Kahn
Date: Mon, 01 Nov 2004 22:08
44 lines
2240 bytes
Hi,

at this application i like to stay at nmhttp. i looked into the vcl help
file and also in the help for nmhttp. but i can't anywhere find out
information how to differentiate between a timeout and an error. furthermore
i couldn't find any information in the exceptionen classes help.

there should be any way, but how?

steffan


"Remy Lebeau (TeamB)" <no.spam@no.spam.com> schrieb im Newsbeitrag
news:4186a83f$1@newsgroups.borland.com...
>
> "Steffan Kahn" <s_kahn@yahoo.com> wrote in message
> news:41869b58$1@newsgroups.borland.com...
>
> > problem is that i am not working with indy components.
>
> Sorry, I did not see that earlier.
>
> > i am using nmhttp which is inside my bcb5.
>
> I strongly suggest not using the Netmaster components at all.  They are
very
> buggy and problematic in general.
>
> > your exmaple looks like indy example.
>
> It is.
>
> > is it also possible for nmhttp do decide whether there is an timeout or
an
> > connection problem?
>
> I still suggest that you not use "..." to begin with.  Catch the Exception
> class directly.  Then you can find out what type of exception is being
> thrown and adjust your code accordingly.
>
>
> Gambit
>
>
Technical Details
Message-ID: <4186b3ec@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <41867801@newsgroups.borland.com> <41867cf2$1@newsgroups.borland.com> <41869b58$1@newsgroups.borland.com> <4186a83f$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,6dac115b128d7ee0
X-Google-Attributes: gidfeeec,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Steffan Kahn" <s_kahn@yahoo.com>
Newsgroups: borland.public.cppbuilder.internet.web
References: <41867801@newsgroups.borland.com> <41867cf2$1@newsgroups.borland.com> <41869b58$1@newsgroups.borland.com> <4186a83f$1@newsgroups.borland.com>
Subject: Re: nmhttp - different between timeout and failure
Date: Mon, 1 Nov 2004 23:08:28 +0100
Lines: 46
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
NNTP-Posting-Host: 80.134.159.118
Message-ID: <4186b3ec@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1099346924 80.134.159.118 (1 Nov 2004 14:08:44 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail