A haskell server to connect and communicate with other clients using Telnet
.
You can see the explanation and implementation of functions Here
- Run the main program
main :: IO ()
main = messageSystem
- Connect by telnet to the port
1981
telnet localhost 1981
- Add your username
Welcome to Politrons message system. How shall I call you?
- Start communicating
Human Tron logged
- Logoff
exit
tron: Has logged off