COMMUNITY

Get local IP address


#1

Is there a way to get local IP addresses with Haxe? When I examine localhost with sys.net.Host then all I get is 127.0.0.1 but need to know active network addresses.


#2

Its here: https://code.haxe.org/category/beginner/loading-external-files.html
But it looks like this service does not work on try.haxe, so I used this:
https://try.haxe.org/#72750


#3

sys.net.Host works as … DNS resolver

You have to use external (target specific) tools (libs) if you need something more system/hardware/LAN related (interface names, adresses, routing … )