Example A Multicast Chat Application

The example in this section combines material from several chapters to create a chat application that also enables you to draw on a shared whiteboard, as shown in Figure 15-1. Figure 15-1 The chat whiteboard application in action Figure 15-1 The chat whiteboard application in action Instead of using a client server model, the program uses multicast sockets for its communication. When you send a message to a multicast address (those addresses in the range from 224.0.0.1 to 239.255.255.255,...