Access the local computer's basic network configuration

Version on this page:
LTS Haskell 22.29:0.2.1
Stackage Nightly 2024-07-17:0.2.1
Latest on Hackage:0.2.1

See all snapshots network-info appears in

BSD-3-Clause licensed by Jacob Stanley
Maintained by Jacob Stanley
This version can be pinned in stack with:network-info-,1530

Module documentation for

  • Network
    • Network.Info
Depends on 1 package(full list with versions):
Used by 1 package in lts-0.7(full list with versions):

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.