How to discover all peers through a RendezVous Peer?
Hello, i have this question: how can i discover all peers in a Peer Group using a RendezVous Peer?
My network is configured in this way:
- several peers behind a NAT are connected to a specified Rdv Peer (visible from outside)
- an external Peer is connected to the same Rdv Peer and performs the getRemoteAdvertisements() previously described.
- All peers (NAT, external and Rdv) are in the same Peer Group, called myPeerGroup.
Using this method
myDiscoSvc.getRemoteAdvertisements(null, DiscoveryService.PEER, null, null, 10); i discover ONLY the PeerAdvertisement of the Rdv Peer which i am connected to.
while this method
myDiscoSvc.getRemoteAdvertisements(null, DiscoveryService.PEER, "Name", "pc*", 10); returns all the peers whose name start with 'pc'. So this way the method works fine.
Is there some kind of 'block' by the Rdv for queries that are too generic? And if so, where can i find some documents that explain this issue?
Thanks in advance.