Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Mar : Re: INDY TIdTCPClient and TIdTCPServer Usage
| Subject: | Re: INDY TIdTCPClient and TIdTCPServer Usage |
| Posted by: | "Dennis" (mariannd..@home3.gvdnet.dk) |
| Date: | Wed, 22 Mar 2006 08:21:50 |
Hi Remy
I understood it as string based response codes were no good in the client. I
understood the help such that IdTCPClient1.SendCmd('Hello', -1); would
accept any return value. 'OK' is any return value to me.
Some critical questions:
It is very counter intuitive to me that like named components such as
TIdTCPClient and TIdTCPServer and TIdCmdTCPServer and TIdCmdTCPClient does
not work together as a pair. Why are they designed that way?
It is also counter intuitive that IdTCPClient1.SendCmd; accepts string
response codes when it does not work with them.
Why does help not state which components will work together in pairs?
Thanks again.
Best regards
Dennis Kjaer Christensen