I think there is no way to enumerate each network interface on my system and their assigned IP address using just sockets. Is this correct?
I mean, in Linux this could be:
eth0: 192.168.1.5
wlan0: 192.168.0.5
lo: 127.0.0.1
I don’t care about interface names, just the IP addresses assigned.
I recall to have done this in the past in Windows, using Win32 (though I don’t remember how). But is there a method to do this in a portable way?
Here’s a good start: