You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Utilizes Client-Server model over TCP protocol. Uses threads to support communication of multiple clients.
Features
JOIN username
When a client wants to join the service, it first connects to
the server using the hostname of the server machine and the port
number, then sends a JOIN request with the username. If the
database is “full”, then the server will print out a status message and send a
“Too Many Users” message to the client.
LIST
Clients can use the LIST command to get a list of curretly registersed users.
MESG <some_message_text>
Use the MESG command to messasge and individual registered user.
BCST <some_message_text>
broadcast to a message to all registered users.
QUIT
Quit the service and leave the list of registered users.
Unrecognized Messages
Unregocnized commands will result in "Unkown Message" message sent to the client.
Example: Members joinning and Alice broadcasting to all members
Alex View
Alice View
Bob View
Server View
About
Utilizes Client-Server model over TCP protocol. Uses threads to support communication of multiple clients.