Access the local computer's basic network configuration

Version on this page:
LTS Haskell 13.22:
Stackage Nightly 2019-05-20:
Latest on Hackage:

See all snapshots network-info appears in

BSD-3-Clause licensed by Jacob Stanley
Maintained by Jacob Stanley

Module documentation for


This library provides simple read-only access to the local computer's
networking configuration. It is currently capable of getting a list of
all the network interfaces and their respective IPv4, IPv6 and MAC


network-info has been tested and is known to work on Ubuntu 10.10, Mac
OS X 10.6.4, FreeBSD 9.0 and Windows XP/7. It probably works on other
flavours of Linux, OS X, FreeBSD and Windows as well.

Changes (2018-03-??)

  • Fixed a link error that manifested when the C compiler uses C99 by default (#17).
comments powered byDisqus