Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- doesSocketExist :: FilePath -> IO Bool
- isPortOpen :: Int -> IO Bool
- canConnect :: SockAddr -> IO ()
- listenOn :: Int -> IO Socket
- allocateRandomPorts :: Int -> IO [Int]
Documentation
canConnect :: SockAddr -> IO () Source #
Check if it is possible to connect to a socket address