Write a program that enables two users to chat. Implement one user as the server (Figure 31.21a)

Question:

Write a program that enables two users to chat. Implement one user as the server (Figure 31.21a) and the other as the client (Figure 31.21b). The server has two text areas: one for entering text and the other (noneditable) for displaying text received from the client. When the user presses the Enter key, the current line is sent to the client. The client has two text areas: one (noneditable) for displaying text from the server and the other for entering text. When the user presses the Enter key, the current line is sent to the server. Name the client Exercise31_09Client and the server Exercise31_09Server.image

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: