🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: using TIdTCPServer

#3944
From: Jonathan Benedicto
Date: Thu, 05 May 2005 19:51
20 lines
1867 bytes
"Remy Lebeau (TeamB)" <no.spam@no.spam.com> wrote in message 
news:427a7816$1@newsgroups.borland.com...
>
> Indy does the exact same thing.  You just don't have to write your 
> own
> thread class, Indy'sa default class does most of the work for you. 
> If you
> want to write your own thread class, though, you can.  Although i 
> would not
> recommend this approach, you can derive a new class from 
> TIdPeerThread and
> override its Run() method.  Then assign the class type to the 
> server's
> ThreadClass property before activating the server.

Thank you for this info. I personally would use the OnExecute event, 
but I have used TServerSocket in the manner I suggested before I found 
out about Indy.

Jonathan 
Technical Details
Message-ID: <427a792c$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <427a2a63$1@newsgroups.borland.com> <427a508e@newsgroups.borland.com> <427a6397@newsgroups.borland.com> <427a73e5@newsgroups.borland.com> <427a7816$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,2b2bb416a158f43e
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Jonathan Benedicto" <incorrect@no.server>
Newsgroups: borland.public.cppbuilder.internet.socket
References: <427a2a63$1@newsgroups.borland.com> <427a508e@newsgroups.borland.com> <427a6397@newsgroups.borland.com> <427a73e5@newsgroups.borland.com> <427a7816$1@newsgroups.borland.com>
Subject: Re: using TIdTCPServer
Date: Thu, 5 May 2005 15:51:10 -0400
Lines: 22
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2527
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 69.158.104.124
Message-ID: <427a792c$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1115322668 69.158.104.124 (5 May 2005 12:51:08 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail