🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: TIdHTTP Server in an NT Service

#5047
From: Remy Lebeau (TeamB)
Date: Tue, 26 Oct 2004 16:19
15 lines
1490 bytes
"Lapo Guidi" <lapoguidi@inwind.it> wrote in message
news:417e3737@newsgroups.borland.com...

> Can somebody help me on creating an HTTPServer running like NT Service?

What exactly do you need help with?  Please be more specific.  Simply drop a
TIdHTTPServer onto the service at design-time, set its Active property to
true in the service's OnStart event and set it to false in the
OnStop/OnShutdown events, and assign an OnCommandGet event to the
TIdHTTPServer to handle serving files to clients.  That is the minimal that
you need to get it running.


Gambit
Technical Details
Message-ID: <417e7929$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!news-out1.nntp.be!propagator2-sterling!news-in.nuthinbutnews.com!in.nntp.be!caladan.arrakis.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <417e3737@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,7d6b1f2a09b111f7
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: <417e3737@newsgroups.borland.com>
Subject: Re: TIdHTTP Server in an NT Service
Date: Tue, 26 Oct 2004 09:19:28 -0700
Lines: 17
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: <417e7929$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1098807593 68.69.17.41 (26 Oct 2004 09:19:53 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!news-out1.nntp.be!propagator2-sterling!news-in.nuthinbutnews.com!in.nntp.be!caladan.arrakis.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail