Bit of a python noob, but I was wondering …
I want to start a thread on start up and pass udp socket data to the thread when it comes in for the thread to process AND then respond to the client accordingly.
All the examples I have seen so far create a thread, do something, bin it, repeat. I don’t want thousands of threads to be created, just one to handle message data of a particular type.
Is this possible and does anyone know of any examples ? Thanks