ot::Ip6::Tcp::Endpoint::ReceiveByReference() method
Provides the application with a linked buffer chain referencing data currently in the TCP receive buffer. The linked buffer chain is valid until the "receive ready" callback is next invoked, or until the next call to otTcpReceiveContiguify() or otTcpCommitReceive(). @sa otTcpReceiveByReference
Arguments
aBuffer
A pointer to the linked buffer chain referencing data currently in the receive buffer.
Return value
kErrorNone Successfully completed the operation. kErrorFailed Failed to complete the operation.