Newsgroups : Borland : borland.public.delphi.internet.winsock : 2007 Oct : Re: CommandHandlers - Indyv9

www.cryer.info
Managed Newsgroup Archive

Re: CommandHandlers - Indyv9

Subject:Re: CommandHandlers - Indyv9
Posted by:"RandomAccess" (n..@tellingyou.com)
Date:Mon, 5 Nov 2007 07:56:09

Hi Remy,

I am using Indy 9 and would like to know how something similar can be
achieved in this version.  Basically,  what I would like to do is to have
the server broadcast a message out to the clients when data is available for
them.

I was thinking of having the clients poll the server with a simple CMD
instead.
But,  would prefer if the server could broadcast when updated data is
available.
I am still new to Indy,  and so appologize if this is a stupid question.


best regards


"Remy Lebeau (TeamB)" <no.spam@no.spam.com> wrote in message
news:4727cefb$5@newsgroups.borland.com...
>
> "Jamie Dale" <jamie.dale@yahoo.com> wrote in message
> news:4727a8c5$1@newsgroups.borland.com...
>
>> Anyway, what happened to the client?
>
> CommandHandlers were added to the client in Indy 10.
>
>> Surely it would of been just as useful to have commandhandlers
>> on the client side wouldn't it?
>
> For protocols were the server sends commands to the client instead of the
> other way around, yes.
>
>> How come this was never implemented?
>
> It was - in Indy 10.  In fact, the CommandHandlers system was separated
> out from TIdTCPServer and generalized a bit more.  Two new components have
> thus been added in Indy 10 - TIdCmdTCPServer and TIdCmdTCPClient.  This
> way, people who don't want to use CommandHandlers don't have the overhead
> anymore.
>
>
> Gambit

Replies:

In response to:

www.cryer.info
Managed Newsgroup Archive