Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
readRaw :: BufferedSocket -> Int -> IO ByteString Source
readLazy :: BufferedSocket -> Int -> IO ByteString Source
readByte :: BufferedSocket -> IO Word8 Source
readToByte :: BufferedSocket -> Word8 -> IO ByteString Source
readToByteMax :: BufferedSocket -> Word8 -> MaxLength -> IO (Maybe ByteString) Source
sendByteString :: BufferedSocket -> ByteString -> IO () Source
readToByteStringMax :: BufferedSocket -> ByteString -> MaxLength -> IO (Maybe ByteString) Source
flush :: BufferedSocket -> IO () Source
data BufferedSocket Source
makeBufferedSocket :: (Socket, SockAddr) -> InputBufferSize -> OutputBufferSize -> IO BufferedSocket Source
inBuffer :: BufferedSocket -> InputBuffer Source
waitForRead :: BufferedSocket -> Timeout -> IO Bool Source
isReadable :: BufferedSocket -> IO Bool Source
isWriteable :: BufferedSocket -> IO Bool Source
closeRead :: BufferedSocket -> IO () Source
closeWrite :: BufferedSocket -> IO () Source