ArduinoMDNS icon indicating copy to clipboard operation
ArduinoMDNS copied to clipboard

Wrong Service type in WifiRegisterExample

Open Soggy-Pancake opened this issue 2 years ago • 2 comments

The example starts out with udp as the protocol used for mDNS but when registering the service it tries to use TCP which will cause it to crash

image

image

Soggy-Pancake avatar Apr 07 '23 04:04 Soggy-Pancake

This is not a bug. Multicast DNS uses UDP for communication. This example sets up a TCP based server on port 80, then uses MDNS to advertise that TCP service on port 80. This is not a bug and will not crash. You do not understand networking.

matthewgream avatar Oct 24 '24 18:10 matthewgream

I think this issue can now be closed.

MicSG-dev avatar Dec 19 '24 17:12 MicSG-dev