ot::Ip6::TcpCircularSendBuffer::Write() method
Sends out data on a TCP endpoint, using this TCP circular send buffer to manage buffering. @sa otTcpCircularSendBufferWrite, particularly for guidance on how @p aEndpoint must be chosen.
Arguments
aEndpoint
The TCP endpoint on which to send out data.
aData
A pointer to data to copy into the TCP circular send buffer.
aLength
The length of the data pointed to by @p aData to copy into the TCP circular send buffer.
aWritten
Populated with the amount of data copied into the send buffer, which might be less than @p aLength if the send buffer reaches capacity.
aFlags
Flags specifying options for this operation.
Return value
kErrorNone on success, or the error returned by the TCP endpoint on failure.