on master help sign in
Add socket IO section
66fa33aHarendra Kumar
README.md+10
@@ -457,6 +457,16 @@ main = do
457 llhisto src -- get line length histogram
457 llhisto src -- get line length histogram
458```
458```
459
459
460+## Socket IO
461+
462+Its easy to build concurrent client and server programs using streamly.
463+`Streamly.Network.*` modules provide easy combinators to build network servers
464+and client programs using streamly. See
465+[FromFileClient.hs](https://github.com/composewell/streamly/tree/master/examples/FromFileClient.hs),
466+[EchoServer.hs](https://github.com/composewell/streamly/tree/master/examples/EchoServer.hs),
467+[FileSinkServer.hs](https://github.com/composewell/streamly/tree/master/examples/FileSinkServer.hs)
468+in the examples directory.
469+
460## Exceptions
470## Exceptions
461
471
462Exceptions can be thrown at any point using the `MonadThrow` instance. Standard
472Exceptions can be thrown at any point using the `MonadThrow` instance. Standard