Popularity
5.7
Stable
Activity
0.0
Stable
8
5
2
Monthly Downloads: 4
Programming language: Haskell
License: BSD 3-clause "New" or "Revised" License
Latest version: v0.2.0.0
Add another 'reflex' Package
README
This library provides reflex
support for writing TCP servers and
clients. All the socket operations are wrapped to use Reflex Event
s,
and the underlying sending/receiving/waiting/accepting operations are
performed on background threads.
The most important function in this library is
Reflex.Backend.Socket.socket
, which wraps a Socket
to process
Event t ByteString
s.
That Socket
can come from:
Reflex.Backend.Socket.Accept.accept
, if you're making a server;Reflex.Backend.Socket.Connect.connect
, if you're making a client; or- Your favourite networking library.
Check the example
subdirectory for some examples. Example clients
and servers are provided.