/p2p-chat

Lab 3 project using Haskell for CS7050

Primary LanguageHaskellOtherNOASSERTION

A multithreaded chat system written in Haskell

Pre-requisite: Need Haskell Stack installed to run the program

Run server:

$ link-exe <port>

Command to the server over TCP:

$ telnet <host> <port>

Commands sent to the server:

  • LOGIN <username> Login with the username
  • QUIT Quit the server
  • MSG <username> <message> Send a private message to a user
  • JOIN <channel> Join a channel
  • LEAVE <channel> Leave a channel
  • TELL <channel> <message> Send a message to a channel