[][src]Function openthread_sys::otUdpClose

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

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