Portability | portable |
---|---|
Maintainer | jmillikin@gmail.com |
- enumSocket :: MonadIO m => Integer -> Socket -> Enumerator ByteString m b
- enumSocketFrom :: MonadIO m => Integer -> Socket -> Enumerator (ByteString, SockAddr) m b
- iterSocket :: MonadIO m => Socket -> Iteratee ByteString m ()
- iterSocketTo :: MonadIO m => Socket -> SockAddr -> Iteratee ByteString m ()
Documentation
:: MonadIO m | |
=> Integer | Buffer size |
-> Socket | |
-> Enumerator ByteString m b |
:: MonadIO m | |
=> Integer | Buffer size |
-> Socket | |
-> Enumerator (ByteString, SockAddr) m b |
iterSocket :: MonadIO m => Socket -> Iteratee ByteString m ()Source
iterSocketTo :: MonadIO m => Socket -> SockAddr -> Iteratee ByteString m ()Source
Write data to a Socket
, using sendManyTo
. The socket does not
have to be connected.