Maintainer | ongy |
---|---|
Stability | testing |
Portability | Linux |
Safe Haskell | None |
Language | Haskell2010 |
- getNetworkHandles' :: Text -> [String] -> IO NetworkHandles'
- getStaticHandle :: Text -> String -> IO NetworkStaticHandle
- getDynamicHandle :: Text -> (String -> Bool) -> IO NetworkDynHandle
- data NetworkDynHandle
- data NetworkStaticHandle
Documentation
:: Text | The string to use when the network is disconnected |
-> [String] | The Network adapters to monitor |
-> IO NetworkHandles' |
Actually get the network handle
:: Text | The string to use when network is disconnected |
-> String | Name of the network interface |
-> IO NetworkStaticHandle |
Get a handle for a static network interface
:: Text | The string to use when network is disconnected |
-> (String -> Bool) | The filter function for the dynamic handle |
-> IO NetworkDynHandle |
Get a handle that will update with new or disappearing network interfaces
data NetworkDynHandle Source #
Handle for dynamic network handling
data NetworkStaticHandle Source #
HAndle for a staticly configured network interface