A simple server that distributes incoming messages to all connected clients. Written in Concurrent Haskell.
Install the Haskell Platform first.
git clone https://github.com/scravy/ChatServer.git
cabal run 4000
You can specify a custom port instead of 4000
.
Once the Chat server is started, it is ready to accept connection.
You can connect for example using netcat
(nc
).
nc localhost 4000