Network.RPC.Curryer.StreamlyAdditions
acceptOnAddrWith :: MonadIO m => [(SocketOption, Int)] -> Maybe (MVar SockAddr) -> Unfold m ((Word8, Word8, Word8, Word8), PortNumber) Socket Source #
accept :: MonadIO m => Maybe (MVar SockAddr) -> Unfold m (Int, SockSpec, SockAddr) Socket Source #
initListener :: Int -> SockSpec -> SockAddr -> IO Socket Source #
listenTuples :: MonadIO m => Maybe (MVar SockAddr) -> Unfold m (Int, SockSpec, SockAddr) (Socket, SockAddr) Source #
handleWithM :: (Socket -> IO ()) -> Socket -> IO () Source #