After several unsuccessful attempts to use JXTA api, i have decided to roll out my own peer to peer api. Am new to network programming in java. My greatest obstacle now is how to enable each peer in a network or internet detect each other. I think thats the function of a P2P routing algorithm, are there existing P2P routing algorithm api to use and can someone please tell me the best algorithm among CHORD, CAN, PASTRY etc and how i can use its Distributed Hash Table to enable each peer detect other peers on same LAN, WLAN and/or Internet. Thanks. Any help will be appreciated.
Share
I think you need a centralized infrastructure where a current list of clients is updated in a regular fashion. When you have downloaded the list the clients can update the list automatically without the host.