Powered by
Find ip address on local network
# help
a
addshore
10/15/2024, 9:15 AM
I'm sure I'm being blind, but which toit service can I find the current IP address from on the local network? Currently looking at
https://github.com/toitlang/toit/blob/526e16593cd92cf2b897cb4acaf264dec59c2f68/lib/esp32/net/ethernet.toit#L285-L287
for inspiration
f
floitsch
10/15/2024, 1:26 PM
The IP address comes from an opened network:
Copy code
import net main: network := net.open print network.address network.close
Previous
Next