Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write a java code, make sure to run the code and post the output of the program The aim of this term project is to
Write a java code, make sure to run the code and post the output of the program
The aim of this term project is to develop a chat server that allows clients to send text message to each other at the same time. In this project, you should implement two java apps one for the server and one for the client. The scenario is as follows. Each client will connect to the chat server with a username and a passwords. Usernames and passwords will be stored on the server side in a text file. If the authentication is correct, the user will be added to on-line user list on the server. When the user logs outs from the system, the server should remove the username from the connected users list. Once the user is connected to the server, they will receive the list of connected users. Each time the online user list is changed on the server, the clients will update their list automatically. More than one client can be connected to the server at the same time. A client user will select a username and send a text message to other users. Text message will send to the server from the client, and the server will forward the message to the destination. Also, the server should keep the log of all messages in a text file, with username, text and date-timeStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started