hedgehog-extras-0.6.0.0: Supplemental library for hedgehog
Safe HaskellSafe-Inferred
LanguageHaskell2010

Hedgehog.Extras.Stock.IO.Network.Socket

Synopsis

Documentation

isPortOpen :: Int -> IO Bool Source #

Check if a TCP port is open

canConnect :: SockAddr -> IO () Source #

Check if it is possible to connect to a socket address

listenOn :: Int -> IO Socket Source #

Open a socket at the specified port for listening

allocateRandomPorts :: Int -> IO [Int] Source #

Allocate the specified number of random ports