khoih-prog / EthernetWebServer

This is simple yet complete WebServer library for AVR, AVR Dx, Portenta_H7, Teensy, SAM DUE, SAMD21/SAMD51, nRF52, STM32, RP2040-based, etc. boards running Ethernet shields. The functions are similar and compatible to ESP8266/ESP32 WebServer libraries to make life much easier to port sketches from ESP8266/ESP32. Coexisting now with `ESP32 WebServer` and `ESP8266 ESP8266WebServer` libraries. Ethernet_Generic library is used as default for W5x00 with custom SPI
MIT License
178 stars 49 forks source link

MDNS support #29

Closed pptsk closed 3 years ago

pptsk commented 3 years ago

Hi, Does this library support MDNS for esp32? Arduino for esp32 has ESPmDNS library but I cant find any example here... Thank you

khoih-prog commented 3 years ago

It's currently not supporting mDNS, which is still in the TODO list

You can try to use ESPmDNS library in ESP32, provided you still have WiFi working besides Ethernet because ESPmDNS is relying on WiFi.

In the mean time, try an independent mDNS library such as ArduinoMDNS or MDNS_Generic

As I don't have time to work on this TODO list now, I have to close the issue and mark it as enhancement request, hopefully to fix it in the near future if there are more similar requests.

khoih-prog commented 3 years ago

You can try these MDNS_Generic examples written for Ethernet and can be merged with EthernetWebServer library

  1. ResolvingHostNames
  2. DiscoveringServices
  3. RegisteringServices
  4. RegisteringServicesWithTxtRecord