Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Aug : Re: IdThreadManager question
| Subject: | Re: IdThreadManager question |
| Posted by: | "York" (offi..@onlinebg.info) |
| Date: | Fri, 4 Aug 2006 10:59:28 |
Thanks Remy.
I am running 5 different servers because each one has it own custom thread
class assigned to.
> Why are you running 5 separate servers? Why not a single server that
> listenng on multiple ports?
This is something like a "virtual classroom" application. One of the servers
communicates with the client connections for control purposes. Another one
is dealing with the audio, one more is dealing with video and one more is
dealing with other specific operations. The last one is used for remote
control purposes - we control the database and manage the user accounts
through it. They all performe quite different operations and really require
custom thread classes.
Thanks
"Remy Lebeau (TeamB)" <no.spam@no.spam.com> wrote in message
news:44d2fb71$1@newsgroups.borland.com...
>
> "York" <office@onlinebg.info> wrote in message
> news:44d2d8b2@newsgroups.borland.com...
>
> > I have a win32 service application which has 5 Indy 9 idTCPServers
> running.
>
> Why are you running 5 separate servers? Why not a single server that
> listenng on multiple ports?
>
> > What is the proper way for assigning idThreadManager
>
> You don't need to. TIdTCPServer automatically assigns its own manager
> internally when needed.
>
> > Is it that each IdTCPServer has its own idThreadManager assigned
> > or one idThreadManagaer can work for all of the 5 idTCPServer...
>
> You can use it either way.
>
> > the IdThreadManager is not necessary at all?
>
> A manager is necessary. But you do not need to provide your own, unless
you
> are trying to implement your own custom thread management system. Which
you
> do not need to do under most situations.
>
>
> Gambit
none