openthread_sys

Function otPlatUdpConnect

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

Connects UDP socket by platform.

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

@retval OT_ERROR_NONE Successfully connected by platform. @retval OT_ERROR_FAILED Failed to connect UDP socket.