BigBrotherCoder
Programmer
Hello all -
This is my first post here so I apologize if this has been covered... I have a program that uses an Indy TCP Server to receive a message and then must send a response that has an embedded carriage return. In short, the response must look like:
#11<stuff>#13<more_stuff>#13<more_stuff>#13#28
I originally wrote the program using Indy 9 components but found quite a few issues with I9 so tore the code apart and will use I10 now... Ironically, a simple writeln(big_string) worked perfectly with I9 but with I10 writeLn seems to interpret the first #13 as the EOL and sends nothing after that. So - how can I send what I need to send *with* the embedded control characters?
Thanks in advance -
This is my first post here so I apologize if this has been covered... I have a program that uses an Indy TCP Server to receive a message and then must send a response that has an embedded carriage return. In short, the response must look like:
#11<stuff>#13<more_stuff>#13<more_stuff>#13#28
I originally wrote the program using Indy 9 components but found quite a few issues with I9 so tore the code apart and will use I10 now... Ironically, a simple writeln(big_string) worked perfectly with I9 but with I10 writeLn seems to interpret the first #13 as the EOL and sends nothing after that. So - how can I send what I need to send *with* the embedded control characters?
Thanks in advance -