2-- Module : Streamly.Network.Socket
3-- Copyright : (c) 2018 Composewell Technologies
6-- Maintainer : streamly@composewell.com
7-- Stability : experimental
10-- Read and write streams and arrays to and from network sockets. Socket IO
11-- APIs are quite similar to "Streamly.Memory.Array" read write APIs and almost
12-- identical to the sequential streaming APIs in "Streamly.Internal.FileSystem.File".
14-- Read IO requests to the socket are performed in chunks of 32KiB, this is
15-- referred to as @defaultChunkSize@ in the documentation. One IO request may
16-- or may not read the full chunk. Unless specified otherwise in the API,
17-- writes are collected into chunks of @defaultChunkSize@ before they are
18-- written to the socket. APIs are provided to control the chunking and
21-- > import qualified Streamly.Network.Socket as SK
24module Streamly.Network.Socket
26 -- * Read from connection
41 -- * Write to connection
52 -- reading/writing datagrams
56import Streamly.Internal.Network.Socket
57import Prelude hiding (read)
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list