[][src]Function openthread_sys::otPlatUdpClose

pub unsafe extern "C" fn otPlatUdpClose(aUdpSocket: *mut otUdpSocket) -> otError

This function closes the UDP socket by platform.

@param[in] aUdpSocket A pointer to the UDP socket.

@retval OT_ERROR_NONE Successfully closed UDP socket by platform. @retval OT_ERROR_FAILED Failed to close UDP Socket.