Newsgroups : Borland : borland.public.delphi.internet.winsock : 2008 Feb : Re: OnWork does not fire in Indy10 Delphi 2007

www.cryer.info
Managed Newsgroup Archive

Re: OnWork does not fire in Indy10 Delphi 2007

Subject:Re: OnWork does not fire in Indy10 Delphi 2007
Posted by:"Remy Lebeau (TeamB)" (no.spam@no.spam.com)
Date:Wed, 13 Feb 2008 00:00:20

"Moore" <moore@hotmail.com> wrote in message
news:47b2977f$1@newsgroups.borland.com...

> In what event the TIdCmdTCPClient waits for server commands?

None.  The waiting is performed internally for you.  All you have to do is
add entries to the TIdCmdTCPClient's CommandHandlers collection for the
desired commands.

> and what is the role of the OnCommand event?

To let you perform whatever operations and reply/error handling you need to
when the cooresponding command is received.


Gambit

Replies:

In response to:

www.cryer.info
Managed Newsgroup Archive