Einzelnen Beitrag anzeigen

marconi8

Registriert seit: 13. Jul 2003
19 Beiträge
 
#5

Re: TIdHTTP (client) WriteStream - some problem with indy bu

  Alt 7. Aug 2003, 22:00
i have solved this problem, problem was = my big error

if i use for string data exchange tcp client/server then on the served side in the tIdTcpserver i can create any command name in commandhandler list, and if i send from tidtcp client command
like sendCmd('myOvnCommand',1) then all will works fine


but if i write this command in TIdHTTP server component, for example
in TIDHttp server .commandhandler will be created command = "myOvnCommand" then if client makes this = sendCmd("myOvnCommand",1) then server executes command onother command, because i have not readed before my app starting indy help, three is writed that true commands for tidhttp server are only get,post,head,
  Mit Zitat antworten Zitat