Internet Direct (Indy) Version 9.0.1 Beta
TIdTCPConnection.WriteRFCStrings
Write RFC-compliant response messages on the connection.

procedure WriteRFCStrings(AStrings: TStrings);
Parameters
AStrings: TStrings
TStringLIst to be written on the connection.

Description
WriteRFCStrings is a procedure used to write the TStrings values in AStrings on the connection in a format consistent with RFC message responses. WriteRFCStrings insures that individual lines in AStrings beginning with the response termination character '.' are converted to '..', and call WriteLn using the updated values. When all lines have been written, WriteRFCStrings calls WriteLn to send the '.' termination character to indicate the end of RFC response messages.