ot::Ip6::Tcp::Endpoint::CommitReceive() method
Informs the TCP stack that the application has finished processing @p aNumBytes bytes of data at the start of the receive buffer and that the TCP stack need not continue maintaining those bytes in the receive buffer. @sa otTcpCommitReceive
Arguments
aNumBytes
The number of bytes consumed.
aFlags
Flags specifying options for this operation (none yet).
Return value
kErrorNone Successfully completed the receive operation. kErrorFailed Failed to complete the receive operation.