Question: ***31.10 (Multiple client chat) Write a program that enables any number of clients to chat. Implement one server that serves all the clients, as shown

***31.10 (Multiple client chat) Write a program that enables any number of clients to chat. Implement one server that serves all the clients, as shown in Figure 31.22 Name the client Exercise31_10Client and the server Exercise31_10Server. Exerdise31 10Server MultiThreadServer started at Mon Jun 10 21:45:21 EDT 2013 Connection from Socket[ addr-/127.0.0.1,port-50929,localport- 8000] at Mon Jun 10 21:45:40 EDT 2013 Connection from Socket[addr /127.0.0.1,port-50931, localport-8000] at Mon Jun 10 21:46:04 EDT 2013 Connection from Socket[ addr-/127.0.0.1,port-50936,localport-8000] at Mon Jun 10 21:46:11 EDT 2013 Exercise31 10Clment Name Jchn Name Katile Enter text Hi, This is Katie Enter text Hi, This is Jchn Katie: Hi This is Katie John: Hi This is John Katie: Hi This is Katie FIGURE 31.22 The server starts in (a) with three clients in (b) and (c) ***31.10 (Multiple client chat) Write a program that enables any number of clients to chat. Implement one server that serves all the clients, as shown in Figure 31.22 Name the client Exercise31_10Client and the server Exercise31_10Server. Exerdise31 10Server MultiThreadServer started at Mon Jun 10 21:45:21 EDT 2013 Connection from Socket[ addr-/127.0.0.1,port-50929,localport- 8000] at Mon Jun 10 21:45:40 EDT 2013 Connection from Socket[addr /127.0.0.1,port-50931, localport-8000] at Mon Jun 10 21:46:04 EDT 2013 Connection from Socket[ addr-/127.0.0.1,port-50936,localport-8000] at Mon Jun 10 21:46:11 EDT 2013 Exercise31 10Clment Name Jchn Name Katile Enter text Hi, This is Katie Enter text Hi, This is Jchn Katie: Hi This is Katie John: Hi This is John Katie: Hi This is Katie FIGURE 31.22 The server starts in (a) with three clients in (b) and (c)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
