Вопрос

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

Это было полезно?

Решение

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.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top