Internet Direct (Indy)
Home
PreviousUpNext
TIdIOHandler.WaitFor@string

Reads data from the IOHandler until a specified string is found.

Parameters 
Description 
AString 
Value to look for for in the internal buffer for the IOHandler. 

string - All value read from the IOHandler buffer until the value in AString occurs.

WaitFor is a string function used to inspect the internal buffer for the IOHandler for the value specified in AString. WaitFor will pause indefinitely until the value in AString appears in InputBuffer. 

WaitFor calls CheckForDataOnSource to determine if data is available in the unbuffered communication layer for the connection. 

WaitFor calls CheckForDisconnect to check the state and status information for the IOHandler transport.

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.