openthread_sys

Function otPlatUdpClose

Source
pub unsafe extern "C" fn otPlatUdpClose(
    aUdpSocket: *mut otUdpSocket,
) -> otError
Expand description

Closes the UDP socket by platform.

@param[in] aUdpSocket A pointer to the UDP socket.

@retval OT_ERROR_NONE Successfully closed UDP socket by platform. @retval OT_ERROR_FAILED Failed to close UDP Socket.