Topic Path: Symbol Reference > Classes > TIdIMAP4 Class > TIdIMAP4 Methods > ReadLnWait Method
ContentsIndexHome
PreviousUpNext
TIdIMAP4.ReadLnWait Method

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

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).

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