Skip to main content

some questions about relays : switch peer mode runtime, discover relays

1 reply [Last post]
magowiz
Offline
Joined: 2007-04-27
Points: 0

Hi,
I'm developing a jxta based p2p file-sharing application, since here in my country there is a provider that doesn't provide public IP but a private NATted IP , I would like to make one or more peer of mine jxta app to become relay/rdv runtime if it discovers that there are not relays/rdvs on my network.
Is it possible to change the peer mode while running ?

However I would also like my peers to be able to discover relays on my peergroup and use them as their relay. Using the discover service is it possible to distinguish normal "full edge" peers from "relays" or "rendezvous" ?

I have another question, if the two things I said before are possible , is it possible to make those relays "private" to my peergroup so only my peers can use them ?

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
adamman71
Offline
Joined: 2007-01-31
Points: 0

You can dynamically become a RDV, but not a relay while running. You can't use the discovery service to distinguish relays from rdvs and full egde (and you don't really need to).

No, you cannot make a realy private to your peergroup. However, this may change in a future release.

J.