Discover Multicast Address

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi, im writing a program that uses the multicast address to send data to
multiple clients at the same time. I would like to be able to get the
multicast address of the current network programmatically...is this possible,
and if yes, how? ive done google searches, yet i havent found a thing on how
to do this. thanks!
 
There is no single multicast address for the current network. A set
of multicast addresses (224.0.0.0 to 224.0.0.255 for local lan) are
available and you can choose to broadcast to any of them. The clients
have to be listening to the same address. You either need to
configure clients and servers to use the same address or have clients
check a list of possible addresses till it finds data being sent by
the expected server.

HTH,

Sam
 
Back
Top