throwSocketErrorIfMinus1Retry

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.
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.