Based on Example1Sender.java, create a program Example1bSender.java which sends a message to the multicast address of the program Example1bReceiver.java. Compile the program, then start an Example1Receiver process, an Example1bReceiver process, an Example1Sender process, then an Example1bSender process. Describe the outcome, in particular which process receives which message(s).

This exercise is based on Example1 presented in this chapter.





The point of this exercise is that there can be multiple multicast group being active at the same time, and the multicast API will deliver the messages to the appropriate processes without confusion.

Computer Science & Information Technology

You might also like to view...

Match the following DatePart arguments with the data they would return:

I. "yyyy" II. "n" III. "h" IV. "m" V. "w" A. Minute B. Month C. Year D. Day of the Week E. Hour

Computer Science & Information Technology

________ software reduces the size of a file by as much as 80% without affecting the data

Fill in the blank(s) with correct word

Computer Science & Information Technology