Alternative f => [f a] -> f a -base -fgl +network

withSocketsDo :: IO a -> IO a
network Network.Socket.Internal, network Network.Socket, network Network
On Windows operating systems, the networking subsystem has to be initialised using withSocketsDo before any networking operations can be used. eg. > main = withSocketsDo $ do {...} Although this is only strictly necessary on Windows platforms, it is harmless on other platforms, so for portability it is good practice to use it all the time.
normalizeCase :: String -> String
network Network.URI
Case normalization; cf. RFC3986 section 6.2.2.1 NOTE: authority case normalization is not performed
normalizeEscape :: String -> String
network Network.URI
Encoding normalization; cf. RFC3986 section 6.2.2.2
normalizePathSegments :: String -> String
network Network.URI
Path segment normalization; cf. RFC3986 section 6.2.2.4
unEscapeString :: String -> String
network Network.URI
Turns all instances of escaped characters in the string back into literal characters.
escapeURIString :: (Char -> Bool) -> String -> String
network Network.URI
Can be used to make a string valid for use in a URI.
escapeString :: String -> (Char -> Bool) -> String
network Network.URI
Deprecated: use escapeURIString, and note the flipped arguments
throwSocketErrorIfMinus1Retry :: (Eq a, Num a) => String -> IO a -> IO a
network Network.Socket.Internal
Throw an IOError corresponding to the current socket error if the IO action returns a result of -1, but retries in case of an interrupted operation.
recvFrom :: HostName -> PortID -> IO String
network Network
throwSocketErrorWaitRead :: (Eq a, Num a) => Socket -> String -> IO a -> IO a
network Network.Socket.Internal
Like throwSocketErrorIfMinus1Retry, but if the action fails with EWOULDBLOCK or similar, wait for the socket to be read-ready, and try again.
throwSocketErrorWaitWrite :: (Eq a, Num a) => Socket -> String -> IO a -> IO a
network Network.Socket.Internal
Like throwSocketErrorIfMinus1Retry, but if the action fails with EWOULDBLOCK or similar, wait for the socket to be write-ready, and try again.
throwSocketErrorIfMinus1RetryMayBlock :: (Eq a, Num a) => String -> IO b -> IO a -> IO a
network Network.Socket.Internal
Throw an IOError corresponding to the current socket error if the IO action returns a result of -1, but retries in case of an interrupted operation. Checks for operations that would block and executes an alternative action before retrying in that case.
throwSocketErrorIfMinus1_ :: (Eq a, Num a) => String -> IO a -> IO ()
network Network.Socket.Internal
Throw an IOError corresponding to the current socket error if the IO action returns a result of -1. Discards the result of the IO action after error handling.