Article View: borland.public.cppbuilder.internet.socket
Article #3396Re: Simple e-mail server
From: Remy Lebeau (TeamB)
Date: Tue, 27 Sep 2005 19:23
Date: Tue, 27 Sep 2005 19:23
26 lines
1745 bytes
1745 bytes
"Vladimir Stefanovic" <antivari@po.sbb.co.yu> wrote in message
news:43398ba5@newsgroups.borland.com...
> But can I have a TTimer which periodically checks:
>
> if ( !ServerSocket1->Active )
As I already told you earlier, the server is not closed when the listening
thread crashes. The server is still active and running, it is just not
accepting any further incoming connections. The Active property remains set
to 'true'.
> ... or place that code in TServiceApplication::OnExecute()
>
> while ( !Terminated )
> {
> // ...
> }
> ?
That checks whether the service itself has been terminated, which has
nothing to do with the TServerSocket.
Gambit
Technical Details
Message-ID:
<43399ca4$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!newsfeeder.wxs.nl!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> <43386dd2$1@newsgroups.borland.com> <4339666a@newsgroups.borland.com> <43397d3c$1@newsgroups.borland.com> <43398ba5@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> <43386dd2$1@newsgroups.borland.com> <4339666a@newsgroups.borland.com> <43397d3c$1@newsgroups.borland.com> <43398ba5@newsgroups.borland.com> Subject: Re: Simple e-mail server Date: Tue, 27 Sep 2005 12:23:28 -0700 Lines: 28 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: <43399ca4$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1127849124 68.69.17.41 (27 Sep 2005 12:25:24 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!newsfeeder.wxs.nl!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail