Function otUdpConnect

Source
pub unsafe extern "C" fn otUdpConnect(
    aSocket: *mut otUdpSocket,
    aSockName: *mut otSockAddr,
) -> otError
Expand description

Connect a UDP/IPv6 socket.

@param[in] aSocket A pointer to a UDP socket structure. @param[in] aSockName A pointer to an IPv6 socket address structure.

@retval OT_ERROR_NONE Connect operation was successful.

@sa otUdpNewMessage @sa otUdpOpen @sa otUdpBind @sa otUdpClose @sa otUdpSend