Discover Multicast Address

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!
 
S

Samuel R. Neff

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top