Question

how can server send its multicast address and port number to another server in android? Such that my client can join the group of the corresponding multicast address

Was it helpful?

Solution

Multicast addresses are usually hard wired in advance. Otherwise you get into an infinite regress: you could multicast it, but where to? There are dynamic multicast address protocols in existence. I suggest you look them up.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top