Article View: borland.public.cppbuilder.internet.socket
Article #5391Re: TCP Client/Server comms using Indy 9
From: Remy Lebeau (TeamB)
Date: Tue, 31 Aug 2004 16:36
Date: Tue, 31 Aug 2004 16:36
16 lines
1553 bytes
1553 bytes
"Alfred Thomas" <alfred@fischerint.co.za> wrote in message news:41341dd3$1@newsgroups.borland.com... > In the actual code I will have better exception handling than ShowMessage :) The point I was trying to make is that you should not be catching the exceptions in the first place, or at least not discarding them, at least not the Indy ones anyway. Let them escape the event handler back into the server so that it knows errors have happened on the socket so that it can then be cleaned up appropriately. Indy uses exceptions internally for notifications and such. Gambit
Technical Details
Message-ID:
<4134a8ba$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.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-mailReferences:
<4132e67f$1@newsgroups.borland.com> <413360a6$1@newsgroups.borland.com> <41341dd3$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,342abc5fb29e757e 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: <4132e67f$1@newsgroups.borland.com> <413360a6$1@newsgroups.borland.com> <41341dd3$1@newsgroups.borland.com> Subject: Re: TCP Client/Server comms using Indy 9 Date: Tue, 31 Aug 2004 09:36:36 -0700 Lines: 18 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: <4134a8ba$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1093970106 68.69.17.41 (31 Aug 2004 09:35:06 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.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