Skip to main content

Searching peers from another application

1 reply [Last post]
janat_tanja
Offline
Joined: 2008-01-19

Hi everyone,

I created a class MyPeer. It starts a peer and joines a peergroup and have some other methods. At this way I start 2 peers at my computer. There is also another application and it shoulf find these peers. The it should choose a random one. Is it possible with jxta?
Have anybody any idea?

Thank you,
tanja

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

Hi,

You should use the peer discovery protocol to obtain peers advertisements in your group. Then you can try to establish bidirectional pipes for example.

Cheers,

J.