Made by :
- Adarsh Dhakar
- Avik Sarkar
- Debargha Nath
- Soham Chakraborty
g++ server.cpp -o server
./server [SOCKET NO.]
g++ client.cpp -o client
./client [SERVER PORT] [SOCKET NO.]
- Enter your name
- By default your messages will be sent to "everyone".
- If you specifically want to send messages to a particular subset of users -
$[Name1,Name2,...] Message
Incorrect user_names will be omitted automatically. - To list all the rooms with their users -
/rooms - To join an existing room -
/room [Room Name]
Note that if there was no room previously created with that given name, a new room will be created. - To leave a room -
/leave - To leave the Chat Server -
exit - Staying inactive for more than 2 minutes will result in you being kicked/banned from the server.
- No. of active clients will be displayed each time someone joins or exits the server, along with the name of user who joined/left.