A rudimentary messaging application based on client-server architecture for communication amongst multiple connected clients.
- 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
- 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
Run server: java ChatServer.java <max_users>
Run client: java User.java <user_name>
- Full-Duplex transmission mode
- GUI for better display