Article View: borland.public.cppbuilder.internet.web
Article #1607nmhttp - different between timeout and failure
From: Steffan Kahn
Date: Mon, 01 Nov 2004 17:52
Date: Mon, 01 Nov 2004 17:52
17 lines
1124 bytes
1124 bytes
hello,
when is use following code to call ab website:
try
{
HTTP->Get(Url);
}
catch (...)
{
// time out or failure?
}
how can i determine whether i get an timeout or an failure if there are any
problems. i couldn find anything in the news groups archiv.
steffan
Technical Details
Message-ID:
<41867801@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: feeec,6dac115b128d7ee0,start 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 Subject: nmhttp - different between timeout and failure Date: Mon, 1 Nov 2004 18:52:52 +0100 Lines: 19 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: <41867801@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1099331585 80.134.159.118 (1 Nov 2004 09:53:05 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail