Skip to content

Latest commit

 

History

History
17 lines (14 loc) · 650 Bytes

File metadata and controls

17 lines (14 loc) · 650 Bytes

ChatServer

A chat server written using sockets in C++. The server runs on port 9999. The server accepts the following commands:

  1. CHAT - server connect
  2. USERS - prints list of users
  3. USER - login and username creation
  4. ROOMS - prints list of rooms
  5. JOIN - join a room or create a room if given room name doesn't exist
  6. PART - leave a joined room
  7. LIST - list users in a room
  8. SAY - send a message to a user or entire room
  9. QUIT - disconnect and leave all joined rooms

All room names must begin with the '@' symbol to differentiate them from usernames