pub unsafe extern "C" fn otUdpClose(
aSocket: *mut otUdpSocket,
) -> otErrorExpand 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