Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

methodtReactorConnection.SendCredit

function SendCredit: Integer;
How many octets EnqueueSend can take NOW and still leave the backlog ceiling a quarter of its size to spare. It counts the buffer in flight as well as the queue, and the quarter is room for what is sent without asking - alerts, close_notify, protocol control frames - so a producer that never sends more than this is never the one the ceiling closes. MaxInt when the ceiling is off; never negative. Call it with the gate held.