🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Indy 10 .Net only ErrorMessage - no ErrorCode

#5235
From: Remy Lebeau (TeamB)
Date: Fri, 24 Sep 2004 08:04
12 lines
1223 bytes
"John Miles" <johnmiles@gmx.de> wrote in message
news:4153c553$1@newsgroups.borland.com...

> in e->Messsage i only get connection error messages
> as string, but i want also the errorcodes.

Check if the Exception derives from EIdSocketError.  If so, then you can
access its LastError property.


Gambit
Technical Details
Message-ID: <4153d4f8$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newshosting.com!nx01.iad01.newshosting.com!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <4153c553$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,b7250ece2f8eb434
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.internet.socket
References: <4153c553$1@newsgroups.borland.com>
Subject: Re: Indy 10 .Net only ErrorMessage - no ErrorCode
Date: Fri, 24 Sep 2004 01:04:21 -0700
Lines: 14
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 68.69.17.41
Message-ID: <4153d4f8$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1096013048 68.69.17.41 (24 Sep 2004 01:04:08 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newshosting.com!nx01.iad01.newshosting.com!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail