Report how many bytes returned by the last GetBytesToSend() have been sent.

Synopsis

Declared in <net.h>

virtual
void
MarkBytesSent(size_t bytes_sent) noexcept = 0;

Description

bytes_sent cannot exceed to_send.size() of the last GetBytesToSend() result.

If bytes_sent=0, this call has no effect.

Parameters

Name

Description

bytes_sent [in]

number of bytes actually written to the wire.

Created with MrDocs