String -> ByteString -http +network

throwSocketError :: String -> IO a
network Network.Socket.Internal
Throw an IOError corresponding to the current socket error.
throwSocketErrorCode :: String -> CInt -> IO a
network Network.Socket.Internal
Like throwSocketError, but the error code is supplied as an argument. On Windows, do not use errno. Use a system error code instead.
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.
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.