openthread_sys

Function otUdpIsOpen

Source
pub unsafe extern "C" fn otUdpIsOpen(
    aInstance: *mut otInstance,
    aSocket: *const otUdpSocket,
) -> bool
Expand description

Check if a UDP socket is open.

@param[in] aInstance A pointer to an OpenThread instance. @param[in] aSocket A pointer to a UDP socket structure.

@returns Whether the UDP socket is open.