larry j. ward wrote:
hello,
i'm using TWSocket to send the TMemo text to another client, but i
can't find a way to get the whole buffer including CRLF, for example:
The memo1 contains these strings:
--
Hello(CRLF)
World!
--
the remote client does receives the buffer
Hello larry,
Hello! (\0 NULL CHAR HERE)
World! (Null char here too)
No this is not correct. You will receive:
Hello CRLF
Workl CRLF
TWSocket receive exacly what is sent without adding or removing any
byte. But you will receive it in 2 packet if yiu set LineMode to CRLF as
Arno pointed out. So
well, the problem is solved.
thank you so much.
On 10/20/06, Wilfried Mestdagh [EMAIL PROTECTED] wrote:
Hello larry,
Hello! (\0 NULL CHAR HERE)
World! (Null char here too)
No this is not correct. You will receive:
Hello CRLF
Workl CRLF
TWSocket receive exacly what is sent without