Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Documentation
Conn | |
|
withTcpClientConn :: MonadUnliftIO m => Maybe ByteCount -> HostPort -> TcpOpts -> (SockAddr -> Conn () -> m a) -> m a Source #
tcpServerConn :: Maybe ByteCount -> HostPort -> TcpOpts -> Acquire (Acquire (SockAddr, Conn ())) Source #
withUdpClientConn :: MonadUnliftIO m => Maybe ByteCount -> HostPort -> (SockAddr -> Conn () -> m a) -> m a Source #
withUdpServerConn :: MonadUnliftIO m => Maybe ByteCount -> HostPort -> (Conn SockAddr -> m a) -> m a Source #