pub unsafe extern "C" fn otPlatUdpBindToNetif(
    aUdpSocket: *mut otUdpSocket,
    aNetifIdentifier: otNetifIdentifier
) -> otError
Expand description

Binds the UDP socket to a platform network interface.

Note: only available when OPENTHREAD_CONFIG_PLATFORM_UDP_ENABLE is used.

@param[in] aUdpSocket A pointer to the UDP socket. @param[in] aNetifIdentifier The network interface identifier.

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