This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I am supposed to create a small multicast application. Multicasting is a new topic for me.
The requirement is that, I have a multicast server, few clients connected to it who are interested in some of the topics that the server multicasts. Each one of this client can register themselves to get information on each of the topics, using the topic ID. So I wanted to know if I can group these clients into one multicast address group and send the packets. If I do this, I will have to use a few InetAddresses, each representing a group address to which subset of the clients will register to. But this will increase as the number of topics increase. So my question is am I doing it the right way? Or is it that my multicast server will always have one multicast group address and I need to have a proper logic to seggregate the clients that wants to receive the information on topics they are interested in. I am not sure how do I design this.