UDP and Server at the same time
Posted: Tue Apr 04, 2017 4:57 am
Ok I have a esp D1 R1 operating as a http web sever, it works well, I want this esp board to communicate with another esp board via UDP at the 'same' time, so I can retrieve data using udp and then publish it on the http page.
Can I do this?, obviously I need to run the http code and udplisten sequentially, in doing this would I miss calls to the webpage or udp packets?
I could rewrite the whole thing and make everything work with http, but if I dont have to I wont.
Can I do this?, obviously I need to run the http code and udplisten sequentially, in doing this would I miss calls to the webpage or udp packets?
I could rewrite the whole thing and make everything work with http, but if I dont have to I wont.