FreeRTOS: Platform
Platform portability layer
Return to main page ↑

Free resources used by a network connection.

IotNetworkError_t ( * destroy )( void * pConnection );

This function releases the resources of a closed connection. It MUST be called after IotNetworkInterface_t::close.

Parameters
[in]pConnectionThe network connection to destroy, defined by the network stack.
Returns
Any IotNetworkError_t, as defined by the network stack.
Attention
No function MAY be called on the network connection after calling this function. This function MUST be safe to call from a receive callback.