Question: Topic : Networking and Threads. a. Write a program that enables two users to chat. Implement one user as the server and the other as

Topic : Networking and Threads.

a. Write a program that enables two users to chat. Implement one user as the server and the other as the client. The server has two text areas: one for entering text and the other (non editable) for displaying text received from the client. When the user presses the Enter key, the current line is sent client has two text areas: one (non editable ) to the client. The for receiving text from the server, and the other for entering text. W hen the user presses the Enter key, the current line is sent to Name the client yourname_Client and the server yourname_Server.

b. (Multiple client chat) Write a program that enables any number of clients to chat. Implement one server that s erv er that serves all the clients MUST BE DONE IN JAVA

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!