TBlockSocket.WaitingData
TBlockSocket     

function WaitingData: Integer; virtual;

Unit
blcksock

Description
On stream sockets it returns number of received bytes waiting for picking. 0 is returned when there is no such data.

On datagram socket it returns length of the first waiting datagram. Returns 0 if no datagram is waiting.


See also:
RecvBuffer, WaitingDataEx