nn::rdt::CTR::Sender::Send Member Functionnn::Result Send( const void * pBuf, size_t bufSize );
| Name | Description | |
|---|---|---|
| in | pBuf | Pointer to the start of the send data. This must not be a null pointer. |
| in | bufSize | If the size of the send data (in bytes) is set to 0, the function will do nothing and return a non-error value. |
ResultSuccess, ResultNotInitialized, ResultDoNothing, ResultSendBufferIsNotAvailable, and ResultUntimelyFunctionCall. Writes data to the send buffer.
If you can verify that the call succeeded, then the data has been copied to the send buffer and it will cause no problems to destroy the region pointed to by pBuf. If the send buffer has insufficient space and it is not possible to write the requested amount of data, this function call fails. In this case, no data at all is written to the send buffer. If Send fails, wait a short while and then try again. Data written to the send buffer is actually sent within the Process function.
CONFIDENTIAL