[Haskell-cafe] Re: ANNOUNCE: maccatcher-1.0.0

Jeff Zaroyko jeffzaroyko at gmail.com
Fri Oct 10 06:53:32 EDT 2008


Jason Dusek <jason.dusek <at> gmail.com> writes:

> 
>   This simple little package obtains a MAC address on *NIX and Windows.
>   It is known to work on Linux, OS X and Windows XP.
> 
>   There is no C fanciness in this package -- it relies on shell
>   commands. The MAC is cached after the first query, using an
>   IORef (I am open to other ideas, but this seemed sufficient).
> 
> --
> _jsn

Hi

I notice that this only prints one MAC address.

Some people have more than one network interface, wouldn't it be better to show
all of them?  Also, on my system I need to run `ifconfig -a` to show all
interfaces since it defaults to showing only interfaces which are up.

Jeff





More information about the Haskell-Cafe mailing list