inet:getiflist() behaviour in Windows

Nicolas Niclausse nicolas@REDACTED
Wed Aug 10 18:48:05 CEST 2005


Stephen Han ecrivait le 04.08.2005 23:34:
> Hi
> 
> This is what I did in Linux (gentoo with kernel 2.6.10)
> 
> 2> inet:getiflist().
> {ok,["lo","eth0"]}

this function doesn't seem to handle alias interfaces (at least on linux)

Eshell V5.4.8  (abort with ^G)
 >inet:getiflist().
{ok,["lo",[],[2],[],"eth1",[]]}

I have 4 interfaces: eth0, eth0:0, eth0:1 and eth1

-- 
Nicolas



More information about the erlang-questions mailing list