Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

TCPServer + client

Status
Not open for further replies.

GCTIberica

Programmer
Jun 20, 2003
30
ES
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top