Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Aug : Re: IdThreadManager question

www.cryer.info
Managed Newsgroup Archive

Re: IdThreadManager question

Subject:Re: IdThreadManager question
Posted by:"Remy Lebeau (TeamB)" (no.spam@no.spam.com)
Date:Fri, 4 Aug 2006 00:45:04

"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

Replies:

In response to:

www.cryer.info
Managed Newsgroup Archive