Newsgroups : Borland : borland.public.delphi.internet.winsock : 2007 Nov : TIdTCPServer - CommandHandlers again...

www.cryer.info
Managed Newsgroup Archive

TIdTCPServer - CommandHandlers again...

Subject:TIdTCPServer - CommandHandlers again...
Posted by:"Jamie Dale" (jamie.da..@yahoo.com)
Date:Mon, 12 Nov 2007 21:35:51

Hi

I'm starting to convert my server to use CommandHandlers instead of parsing
it all using my own code.

Now the problem I just realised I have is that I have no way of decrypting
the command before the commandhandler takes over!

If I use OnBeforeCommandHandler then the command is a const value. I could
decrypt it here (using LockBox components) but the Command itself would
still remain encrypted as I cannot pass the decrypted value back.

Any ideas? - I'm stumped with this one..

Replies:

www.cryer.info
Managed Newsgroup Archive