Function openthread_sys::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.