ot::Ip6::Tcp::Endpoint::SendByExtension() method
Adds data to the send buffer by extending the length of the final otLinkedBuffer in the send buffer by the specified amount. If the send buffer is empty, then the operation fails. @sa otTcpSendByExtension
Arguments
aNumBytes
The number of bytes by which to extend the length of the final linked buffer.
aFlags
Flags specifying options for this operation (see enumeration above).
Return value
kErrorNone Successfully added data to the send buffer. kErrorFailed Failed to add data to the send buffer.