Function openthread_sys::otUdpClose
source ยท pub unsafe extern "C" fn otUdpClose(
aInstance: *mut otInstance,
aSocket: *mut otUdpSocket,
) -> otError
Expand description
Close a UDP/IPv6 socket.
@param[in] aInstance A pointer to an OpenThread instance. @param[in] aSocket A pointer to a UDP socket structure.
@retval OT_ERROR_NONE Successfully closed the socket. @retval OT_ERROR_FAILED Failed to close UDP Socket.