Internet Direct (Indy)
Home
PreviousUpNext
TIdTCPConnection.WriteRFCStrings Method

Writes RFC-compliant message bodies on the connection.

Pascal
procedure WriteRFCStrings(
    AStrings: TIdStrings
);
Parameters 
Description 
AStrings 
Values to write to the connection. 

WriteRFCStrings is a procedure used to write the values in AStrings using the connection to the peer. 

WriteRFCStrings ensures that individual lines in AStrings beginning with the response termination character '.' (Period) are converted to '..' prior to writing the line using the IOHandler for the connection. 

When all lines in AStrings have been written, WriteRFCStrings calls WriteLn in the IOHandler to send the '.' termination character to indicate the end of the RFC message body.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.