Article View: borland.public.cppbuilder.internet.socket
Article #3386Re: Simple e-mail server
From: Remy Lebeau (TeamB)
Date: Mon, 26 Sep 2005 21:54
Date: Mon, 26 Sep 2005 21:54
24 lines
1964 bytes
1964 bytes
"Vladimir Stefanovic" <antivari@po.sbb.co.yu> wrote in message news:433839f8@newsgroups.borland.com... > If my TServerSocket gets in "Active == false" state > that means all my server functionality is dead. The Active property will not be set to false if an uncaught exception is thrown by the OnGetThread event handler. Nor will any existing client connections be closed, either. However, because the listening thread is aborted prematurely, no more incoming client connections will be accepted until the TServerSocke is reset. > 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... What you are describing is known as a "watchdog" service. Some people choose to make them, if their main service must remain running under all cercumstances. But they are certainly not a requirement for service programming in general. Gambit
Technical Details
Message-ID:
<43386dd2$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeed.freenet.de!news.osn.de!diablo1-ffm.news.osn.de!news.belwue.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<4337dfe1$1@newsgroups.borland.com> <4338297e@newsgroups.borland.com> <433839f8@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: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.internet.socket References: <4337dfe1$1@newsgroups.borland.com> <4338297e@newsgroups.borland.com> <433839f8@newsgroups.borland.com> Subject: Re: Simple e-mail server Date: Mon, 26 Sep 2005 14:54:32 -0700 Lines: 26 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: <43386dd2$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1127771602 68.69.17.41 (26 Sep 2005 14:53:22 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeed.freenet.de!news.osn.de!diablo1-ffm.news.osn.de!news.belwue.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail