문제

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