[erlang-questions] inet:getifaddrs/0 and windows

Benoit Chesneau bchesneau@REDACTED
Tue Feb 23 21:12:40 CET 2016

I'm looking at the result of `inet:getifaddrs/0` and i'm not sure how to
use the interface name "//DEVICE/...". Is this a device id? Any idea how i
could query it using wmic?

The idea behind is having a way to get the default route/gateway per
interface by launching the wmic command line in erlang. But first i have to
understand what kind of id is exposed. Any feedback is welcome :)

- benoît
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20160223/b304cc9d/attachment.htm>

More information about the erlang-questions mailing list