| Maintainer | ongy |
|---|---|
| Stability | testing |
| Portability | Linux |
| Safe Haskell | None |
| Language | Haskell2010 |
Monky.Examples.Network
Description
- getNetworkHandles' :: Text -> [String] -> IO NetworkHandles'
- getStaticHandle :: Text -> String -> IO NetworkStaticHandle
- getDynamicHandle :: Text -> (String -> Bool) -> IO NetworkDynHandle
- data NetworkDynHandle
- data NetworkStaticHandle
Documentation
Arguments
| :: Text | The string to use when the network is disconnected |
| -> [String] | The Network adapters to monitor |
| -> IO NetworkHandles' |
Actually get the network handle
Arguments
| :: 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
Arguments
| :: 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