[erlang-questions] inet:ifget("eth0", [broadaddr])

Bob Cowdery <>
Tue Mar 1 21:50:21 CET 2011


I doubt it is too. But I couldn't determine if it actually had a name or
where to find it.

inet:getiflist() just returns {ok,["192.168.1.65","192.168.56.1","127.0.0.1"]} which doesn't really help.

Bob



On 01/03/2011 19:57, Juan Jose Comellas wrote:
> I doubt that the Ethernet interface is called 'eth0' on Windows. What
> does inet:getiflist() return on your system?
>
> Juanjo
>
>
> On Tue, Mar 1, 2011 at 4:46 PM, Bob Cowdery <> wrote:
>
>> I'm trying to get hold of the broadcast address on a Windows box but
>> inet:ifget() just returns einval. Anyone know of a way to do this.
>>
>> Thanks
>> Bob
>>
>> ________________________________________________________________
>> erlang-questions (at) erlang.org mailing list.
>> See http://www.erlang.org/faq.html
>> To unsubscribe; mailto:
>>
>>



More information about the erlang-questions mailing list