Internet Direct (Indy)
Home
PreviousUpNext
TIdIMAP4.ReadLnWait Method

Pauses until a line of text is read from the connection.

Pascal
function ReadLnWait: string;

String - Text read from the connection.

ReadLnWait is a String function used to pause until a line of text is read from the connection. ReadLnWait uses the ReadLnWait method in the IOHandler assigned for the client to read the line of text. 

Please note that an exception can be raised if the ReadTimeout value for the client elapses prior to returning a line of text from the client connection. 

The return value for the method is the line of text (without the line end characters) read from the connection. 

ReadLnWait is used internally in the implementation of many IMAP4 methods that access line-oriented values (like server responses).

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.