FreeRTOS: Platform
Platform portability layer
Return to main page ↑

Send data over a return connection.

size_t ( * send )( void * pConnection,
const uint8_t * pMessage,
size_t messageLength );

Attempts to transmit messageLength bytes of pMessage across the connection represented by pConnection. Returns the number of bytes actually sent, 0 on failure.

Parameters
[in]pConnectionThe connection used to send data, defined by the network stack.
[in]pMessageThe message to send.
[in]messageLengthThe length of pMessage.
Returns
The number of bytes successfully sent, 0 on failure.