Topic Path: Symbol Reference > Classes > TIdTCPConnection Class > TIdTCPConnection Methods > WriteRFCStrings Method
ContentsIndexHome
PreviousUpNext
TIdTCPConnection.WriteRFCStrings Method

Writes RFC-compliant message bodies on the connection.

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.

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.