command processor and XML input
Posted: Mon Jul 26, 2010 9:15 am
Hi,
I am having some trouble sending XML through the command processor. Here's what the command is when I debug the char pointer in GDB, and the XML I am sending:
https://gist.github.com/df72eb72fa7df63c02dd
The "6 " before the command just tells it what to do and (I guess) can be ignored. Notice how some of the middle part of the XML is cut off, but the last two chars are there (the "d>").
Any ideas? I am thinking about just going back to simple sockets and making up my own way of sending and receiving; would that be a better way?
Is there a length limit on the const char* for the command?
Thanks!
Christoph
I am having some trouble sending XML through the command processor. Here's what the command is when I debug the char pointer in GDB, and the XML I am sending:
https://gist.github.com/df72eb72fa7df63c02dd
The "6 " before the command just tells it what to do and (I guess) can be ignored. Notice how some of the middle part of the XML is cut off, but the last two chars are there (the "d>").
Any ideas? I am thinking about just going back to simple sockets and making up my own way of sending and receiving; would that be a better way?
Is there a length limit on the const char* for the command?
Thanks!
Christoph