07-05-2020, 03:24 PM
07-06-2020, 07:31 PM
(07-05-2020, 03:24 PM)Madammar Wrote: [ -> ]Hi, can idtcpclient End of line be customized ?
currently its #13#10
is there any property to modify that ?
No, it is hard-coded, as most line-based Internet protocols use CRLF. However, you don't have to use WriteLn(), you can use Write() instead, then you can use whatever terminator you want, eg:
Code:
const
MyTerminator = #10; // or whatever you want
IdTCPClient1.IOHandler.Write('some text' + MyTerminator);