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