Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation

client-server-chat-app

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

Screenshot 2024-12-18 131726

Alice View

Screenshot 2024-12-18 131757

Bob View

Screenshot 2024-12-18 131814

Server View

Screenshot 2024-12-18 131841

About

Utilizes Client-Server model over TCP protocol. Uses threads to support communication of multiple clients.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages