Multicasting
I'm working on a Java server application that distributes a video feed to many Java clients. From my understanding, the best way to do this is with multicasting, and Java supports it. I understand the DatagramSocket/Packet objects, but I'm rather confused how exactly multicasting would work. My programming books/websites make it sound as though I simply pick a Class D IP address and bind both the server and the clients to it.
I have a tendency to over-complicate my algorithms, but this idea doesn't make any sense. It seems way to easy. How will the rest of the world know not to use the IP address I pick?
Can anyone suggest some (free) resources which might explain multicasting with Java better?
Last edited by wisner94; 08-08-2012 at 03:42 AM..
|