Function otUdpBind

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

Bind 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 Bind operation was successful.

@sa otUdpNewMessage @sa otUdpOpen @sa otUdpConnect @sa otUdpClose @sa otUdpSend