BufferedSocket-0.2.1.0: A socker wrapper that makes the IO of sockets much cleaner

Safe HaskellNone
LanguageHaskell2010

Network.BufferedSocket.Core

Documentation

readRaw :: BufferedSocket -> Int -> IO ByteString Source

sendByteString :: BufferedSocket -> ByteString -> IO () Source

readToByteStringMax :: BufferedSocket -> ByteString -> MaxLength -> IO (Maybe ByteString) Source

makeBufferedSocket :: (Socket, SockAddr) -> InputBufferSize -> OutputBufferSize -> IO BufferedSocket Source

inBuffer :: BufferedSocket -> InputBuffer Source