🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

TIdTelnet catch exception

#5324
From: Geaorge
Date: Wed, 18 Aug 2004 03:43
4 lines
1093 bytes
I have a small app that uses TIdTelnet
I perform a COnnect() and I want to be able to tell if it succeeds or not, and suppress the generix exception it throws. Can someone shwo me an example of catching the exception that comes back if it cannot connect? 
Many thanks
Technical Details
Message-ID: <4122d054$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!fr.ip.ndsoftware.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,543856a01aa222d8,start
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Geaorge" <gharris@yahoo.com>
Sender: "Geaorge" <gharris@yahoo.com>
Reply-To: "Geaorge" <gharris@yahoo.com>
Subject: TIdTelnet catch exception
Newsgroups: borland.public.cppbuilder.internet.socket
X-User-Info: 202.139.43.133     
X-Forwarded-For: 144.55.44.145, 144.55.32.32, 144.55.9.4
NNTP-Posting-Host: 207.105.83.66
Message-ID: <4122d054$1@newsgroups.borland.com>
Date: 17 Aug 2004 20:43:16 -0700
X-Trace: newsgroups.borland.com 1092800596 207.105.83.66 (17 Aug 2004 20:43:16 -0700)
Lines: 4
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!fr.ip.ndsoftware.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail