Making a UDP class which doesn't block an ESP8266 / Arduino
问题 I have a need in my Arduino compatible project to listen on an ESP8266 to a specific UDP port and respond when an appropriate message is received, whilst doing other application stuff in the main program loop. I want to abstract the UDP stuff into its own class, and this is where my question comes. How do I let my class continue to listen, read a UDP packet, and then call a send response method, without putting lots of code into the main program loop? The interface for my class is: #ifndef