Skip to content

A rudimentary messaging application based on client-server architecture for communication amongst multiple connected clients.

Notifications You must be signed in to change notification settings

Priyansh2/ChatApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ChatApp

A rudimentary messaging application based on client-server architecture for communication amongst multiple connected clients.

Project Scope

  • Built a chat room for N users based on Half-Duplex communication model using socket programming in Java
  • Implement built-in commands (see problem.pdf for detail)
  • Implement TCP and UDP oriented message sending and file sharing features
  • Error handling with appropriate display message

Commands

  • create chatroom <chatroom_name> - command to create chatroom
  • list chatrooms - command to list all chat rooms
  • join <chatroom_name> - command to join existing chat room
  • leave -command to leave existing chat room
  • list users -command to list all users in a chatroom
  • add <user_name> -commmand to add another user to chat room
  • reply <message_content> -command to send message in a chatroom
  • reply <file_path> tcp/udp - command to send any kind of file in a chatroom through TCP/UDP mode

Usage

Run server: java ChatServer.java <max_users>
Run client: java User.java <user_name>

TODO

  • Full-Duplex transmission mode
  • GUI for better display

About

A rudimentary messaging application based on client-server architecture for communication amongst multiple connected clients.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published