Re: [twsocket] problem with chat program

2006-10-20 Thread larry j. ward
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 se

Re: [twsocket] problem with chat program

2006-10-20 Thread Wilfried Mestdagh
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. S

Re: [twsocket] problem with chat program

2006-10-19 Thread Arno Garrels
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 th

[twsocket] problem with chat program

2006-10-19 Thread larry j. ward
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 splitted line by line, it handles