ArduinoWebsockets icon indicating copy to clipboard operation
ArduinoWebsockets copied to clipboard

How to know hostname and IP from client?

Open casterock opened this issue 2 years ago • 1 comments

Which method is intended for hostname and which for IP from client?

Thanks and best regards

casterock avatar May 06 '22 18:05 casterock

For anyone looking for an answer in the future, you can use MDNS to have the client be able to discover the server IP: https://techtutorialsx.com/2021/10/29/esp32-mdns-host-name-resolution/

costyn avatar Feb 01 '23 02:02 costyn