What is the exact difference in between Unicast and Multicast object ? Where we will use ?

Showing Answers 1 - 2 of 2 Answers

justAnother

  • Nov 15th, 2005
 

The following some information regarding the question:

The information was taken from (http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=1&t=000875) written by sasikala kumaresan

A unicast packet is the complete opposite: one machine is talking to only one other machine. All TCP connections are unicast, since they can only have one destination host for each source host. UDP packets are almost always unicast too, though they can be sent to the broadcast address so that they reach every single machine in some cases.

A multicast packet is from one machine to one or more. The difference between a multicast packet and a broadcast packet is that hosts receiving multicast packets can be on different lans, and that each multicast data-stream is only transmitted between networks once, not once per machine on the remote network. Rather than each machine connecting to a video server, the multicast data is streamed per-network, and multiple machines just listen-in on the multicast data once it's on the network.Difference between unicast and multicast

  Was this answer useful?  Yes

Joseph Kiernan

  • Jul 27th, 2006
 

Neither of these objects exists in Java so there is no difference between things that don't exist. There is a MulticastSocket class and a UnicastRemoteObject class, if that's what you mean, but as one is a socket class and the other is a base class for RMI objects there's not much danger of them getting confused, as there's actually not much *the same* about them other than they both extend java.lang.Object.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions