Article View: borland.public.cppbuilder.internet.socket
Article #3385Re: Simple e-mail server
From: Vladimir Stefanovic
Date: Mon, 26 Sep 2005 18:13
Date: Mon, 26 Sep 2005 18:13
29 lines
1705 bytes
1705 bytes
> The service will not be shut down. However, the > TServerSocket will not function properly anymore. [...] > If the OnGetThread event handler throws an uncaught > exception, the listening thread will be aborted prematurely. Does this happens often in practice? If my TServerSocket gets in "Active == false" state that means all my server functionality is dead. What do you suggest me to get it working again? Maybe a TTimer which will periodically check the state? Also is it normal that I make a *second* service that will only check if the *main* service is STOPPED and decide if to start it again... > For a __finally to be effectively, it should be used before > the exception is caught, ie: > [CODE] OK. Thank you. Best regards, Vladimir Stefanovic
Technical Details
Message-ID:
<433839f8@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!newshub.sdsu.edu!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<4337dfe1$1@newsgroups.borland.com> <4338297e@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,97b4b095375844bd X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Vladimir Stefanovic" <antivari@po.sbb.co.yu> Newsgroups: borland.public.cppbuilder.internet.socket References: <4337dfe1$1@newsgroups.borland.com> <4338297e@newsgroups.borland.com> Subject: Re: Simple e-mail server Date: Mon, 26 Sep 2005 20:13:56 +0200 Lines: 31 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-RFC2646: Format=Flowed; Original NNTP-Posting-Host: 82.117.212.65 Message-ID: <433839f8@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1127758328 82.117.212.65 (26 Sep 2005 11:12:08 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!newshub.sdsu.edu!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail