Unlike C / C ++, \it is not an escape character, therefore it is '\n'not interpreted as a line feed in Delphi. This is the actual 2-character string, a character '\'followed by a character 'n'.
, #10 Indy LF:
msg := fSocketCon.IOHandler.ReadLn(
msg := fSocketCon.IOHandler.ReadLn(LF, 200);
, ReadLn() LF terminator:
msg := fSocketCon.IOHandler.ReadLn('', 200);
, ATimeout . ReadTimeout, , LF:
fSocketCon.IOHandler.ReadTimeout := 200;
...
msg := fSocketCon.IOHandler.ReadLn;