How discover nearest's peers using JXTA?

153 Views Asked by At

I have a p2p network using JXTA protocol. Is it possible discover what peers are nearest a specific peer?

tks.

1

There are 1 best solutions below

0
On BEST ANSWER

I am a new studier of the jxse2.6,for your problem, i think you should make a discover of the peer advertisement.TheDiscoveryService.getRemoteAdvertisements(null, peer, null, null, 0, new Edge_Maxime_The_Socializer()),and make a linster to show the peer information.