GCTIberica
Programmer
Hi
I have a little problem
I have a TCP client and server. The client sends data which could be any length, and without distinct characters to know the end of text etc
I need to capture this from the server but I can´t seem to do it.
text := AThread.Connection.ReadChar;
This captures only one character
text := AThread.Connection.Readln;
This doesn´t work, as it doesn´t detect end of line characters!
Does anyone know how I can do this?
Thanks
I have a little problem
I have a TCP client and server. The client sends data which could be any length, and without distinct characters to know the end of text etc
I need to capture this from the server but I can´t seem to do it.
text := AThread.Connection.ReadChar;
This captures only one character
text := AThread.Connection.Readln;
This doesn´t work, as it doesn´t detect end of line characters!
Does anyone know how I can do this?
Thanks