Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

methodtReactorConnection.SendCompleted

procedure SendCompleted(aByteLen: Integer); virtual;
Called by the reactor when a send completes (gate held); advances the FIFO. VIRTUAL so a descendant can learn that bytes actually reached the wire. That distinction matters: EnqueueSend means "the application handed us bytes", SendCompleted means "the peer took them". Only the second is evidence a connection is alive, and it is the only signal that distinguishes a busy connection from one whose peer has stopped reading.