How to read the data?
Do so
IdTCPClient1.IOHandler.ReadLn
So the client reads line by line, but on the last line hangs.
If you put '\n'
at the end of each message on the server, then everything is OK, is this correct?
According to the idea, he should consider everything that was transferred by the server!
delphi XE3