function WaitForData(Timeout: integer): boolean;

 

Description

Waits for the received data from the Web server during amount of time specified in the Timeout parameter in milliseconds, and then returns control. The calling thread will wait indefinitely when the Timeout parameter is set to -1.

If data from server was received and is in the buffer for reading, the method returns True. False otherwise.

 

See also

ReadBuffer

 

SecureBridge Components, Copyright © 2007-2021 Devart. All Rights Reserved. Provide Feedback Visit Forum Request Support