mrdunk / esp8266_mdns

mDNS queries and responses on esp8266
MIT License
77 stars 16 forks source link

SendUnicast() function and supports (#18) #20

Closed ajanhalt closed 9 months ago

ajanhalt commented 2 years ago

This adds the SendUnicast(IPAddress) function to implement unicast responses. There are two supporting functions : getRemoteIP() to get the source IP address and getDestinationIP() to get the target IP address (if you need to see if the original packet was sent unicast for some reason). A new example shows a simple use of those for a host address responder Some fixes in the library code