TBlockSocket.CanWrite
TBlockSocket     

function CanWrite(Timeout: Integer): Boolean;

Unit
blcksock

Description
Return TRUE, if you can to socket write any data (not full sending buffer). Status is tested for time Timeout (in milliseconds).

If value in Timeout is 0, status is only tested and continue. If value in Timeout is -1, run is breaked and waiting for write data maybe forever.


See also:
SendBuffer