-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Haskell Ping wrapper -- -- This utility is a wrapper for ping. Currently it is only implemented -- the win32 and it will raise an exception in other systems. @package ping-wrapper @version 0.1.0.0 -- | Ping wrapper. -- -- It calls ping utility and parse the result in a haskell data type. -- -- Currently only support win32 platform module Ping data PingOptions PingOptions :: String -> Int -> PingOptions [hostNameOrAddress] :: PingOptions -> String [count] :: PingOptions -> Int data PingResult :: * PingSucceed :: IPv4 -> Maybe Text -> Int -> [LineResult] -> PingResult [hostAddress] :: PingResult -> IPv4 [hostNameResolved] :: PingResult -> Maybe Text [bytesOfData] :: PingResult -> Int [lineResults] :: PingResult -> [LineResult] PingError :: PingError -> PingResult -- | Execute synchronously the ping and return the parsed result performPing :: PingOptions -> IO (Either String PingResult)