openthread_sys

Function otPlatUdpBind

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

Binds the UDP socket by platform.

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

@retval OT_ERROR_NONE Successfully bound UDP socket by platform. @retval OT_ERROR_FAILED Failed to bind UDP socket.