Java multithread Java server
$25-30 USD
Paid on delivery
Write a program that implements a simple chat server that enables every client that connects to the server to broadcast data to all other clients. The server should store an ArrayList of sockets to perform the broadcast. Implementation will assume that all clients and servers run on the same machine (this can be easily changed of course by setting “localhost?? to the desired hostname).
Further write a GUI program that implements a simple chat client that connects to the server (assume to be localhost on port 7654) and starts two threads: one for listening for data sent from the server, and another that waits for the user to type something in, that will be sent to the server. Anything sent to the server is broadcast to all other existing clients.
To test your simple chat application, the server must be started first, then multiple clients should be initiated in separate windows and messages typed to/from them.
## Deliverables
A FULL COMPLETED COMMENTED PROJECT WITH JAVADOCS AND A REPORT DOCUMENT SUMMARIZING THE IMPLEMENTATION
## Platform
See above
Project ID: #3543296