| Maintainer | ongy |
|---|---|
| Stability | testing |
| Portability | Linux |
| Safe Haskell | None |
| Language | Haskell2010 |
Monky.Network.Dynamic
Description
This module exports a handle to access dynamic network configurations.
This will update when a new network interface appears or disappears. The value returned by this will be the sum over all interfaces.
Documentation
Arguments
| :: (String -> Bool) | Will be given the name of the handle, only add interface if this returns true (think of it as filter over all possible interfaces) |
| -> IO UHandles |
Get the new handle this module exports and start its updater loop
type UHandles = (IORef Handles, String -> Bool) Source #
The actual handel exposed and used by this module