|
Distributed Computing ![]() This website demonstrates using wikis as teaching and learning tool. The course instructor is also happy to share the teaching materials here with those who find it readable. |
Suggested Answers to TutorialTutorial : Multicast Chat System, Java Multicast Programming Questions and Answers
No. The reason is that multicast and unicast all share the same set of UDP ports.
Yes, because multiple clients on the same machine can join in a multicast conversation.
They are joinGroup(), leaveGroup(), setTimeToLive(), getTimeToLive(), setInterface(), getInterface(), and send() with an option to specify the TTL for the packet.
The methods of MulticasstSocket may throw exceptions of the type IOException.
No. Most multicast senders are indiscriminate about who they talk to. Therefore, it’s easy to join a group, and watch the data that’s being sent to it.
No. You have to accept a whole UDP packet before you know who the sender is; you can choose to skip a particular packet by not displaying its contents, but you still have to receive the whole packet first.
Yes, it is possible.
|