Function otUdpClose

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

Close a UDP/IPv6 socket.

@param[in] aSocket A pointer to a UDP socket structure.

@retval OT_ERROR_NONE Successfully closed the socket.

@sa otUdpNewMessage @sa otUdpOpen @sa otUdpBind @sa otUdpConnect @sa otUdpSend