So as to allow for any order when using MDNS.h, it should include any headers it requires. It needs symbols from both IPAddress.h and Udp.h. IPAddress.h is included by Udp.h, but including it explicitly adds a bit of clarity to someone reading the code.
So as to allow for any order when using MDNS.h, it should include any headers it requires. It needs symbols from both IPAddress.h and Udp.h. IPAddress.h is included by Udp.h, but including it explicitly adds a bit of clarity to someone reading the code.