So I will take a Thread for the UDP communication.
I was asking in this way because at my first try to use UDP.write in a threat was not running.
Thanks
But the UDP.DataAvailable doesn’t run in the thread. It always runs in the main UI thread. A thread seems superfluous. Unless you’re processing a large amount of data, then a thread might make sense. But I’ve not encountered a situation where I needed a thread.