@@ -10,13 +10,13 @@
1010-- This module provides socket based streaming APIs to to receive connections
1111-- from remote hosts, and to read and write from and to network sockets.
1212--
13−-- For basic socket types and operations please consult the @Network.Socket@
13+-- For basic socket types and non-streaming operations please consult the @Network.Socket@
1414-- module of the <http://hackage.haskell.org/package/network network> package.
1515--
1616-- = Examples
1717--
18−-- To write a server, use the 'acceptor' unfold to start listening for
19−-- connections from clients. 'acceptor' generates a stream of connected
18+-- To write a server, use the 'accept' stream to start listening for
19+-- connections from clients. 'accept' generates a stream of connected
2020-- sockets. We can map an effectful action on this socket stream to handle the
2121-- connections. The action would typically use socket reading and writing
2222-- operations to communicate with the remote host. We can read/write a stream
@@ -33,7 +33,6 @@
3333-- >>> import Streamly.Network.Socket (SockSpec(..))
3434-- >>>
3535-- >>> import qualified Streamly.Data.Fold as Fold
36−-- >>> import qualified Streamly.Data.Stream as Stream
3736-- >>> import qualified Streamly.Data.Stream.Prelude as Stream
3837-- >>> import qualified Streamly.Network.Socket as Socket
3938-- >>>