methodtAbstractSocket.WaitForData
function WaitForData(aMSec: Cardinal): Boolean; virtual; abstract;
Blocking poll used by both client and server code (e.g. AbstractOcsp's HTTP client wait vs PkixOcspServer's accept-loop wait) to avoid a busy loop while waiting for a peer to send data, a listener to gain a pending connection, or the socket to close; see tWinSocket's implementation notes on manual-reset event semantics for the level-triggered contract callers rely on. On a closed socket it answers False and does not raise; see Close for a Close made on another thread while it waits.