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

 

Description

Waits for data from the TLS/SSL client 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 client has been received and is available for reading from the buffer, the method returns True. Otherwise, False.

 

See Also

ReadBuffer

 

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