function WaitForData(Timeout: integer = -1): boolean;

 

Description

Waits for data from the remote side during the period of time specified in Timeout (in milliseconds), and then returns control. The calling thread will wait indefinitely when Timeout is set to -1.

When data from the remote side has been received and is available for reading from the buffer, the method returns True. Otherwise, False.

 

See Also

Read

 

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