Newsgroups : Borland : borland.public.delphi.internet.winsock : 2007 Sep : Re: Extending Indy TIdTCPServer threads
| Subject: | Re: Extending Indy TIdTCPServer threads |
| Posted by: | "Remy Lebeau (TeamB)" (no.spam@no.spam.com) |
| Date: | Fri, 14 Sep 2007 15:58:02 |
"Toby Piper" <news@CompCraft.com> wrote in message
news:46eb06f2$1@newsgroups.borland.com...
> I would like to have some private functions that are part
> of each connection thread.
Derive a new class from TIdPeerThread (Indy 9) or TIdContext (Indy 10), add
your custom functionality as needed, and then assign the server's
ThreadClass (Indy 9) or ContextClass (Indy 10) property at runtime before
activating the server.
Gambit