openthread_sys

Function otPlatUdpSocket

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

Initializes the UDP socket by platform.

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

@retval OT_ERROR_NONE Successfully initialized UDP socket by platform. @retval OT_ERROR_FAILED Failed to initialize UDP Socket.