Results 1 to 2 of 2
  1. #1
    dogukan is offline Member
    Join Date
    Apr 2010
    Posts
    1
    Rep Power
    0

    Default Discovery of peer in p2p network

    I'm currently implementing a p2p network for a chat application. However, I don't know how to discover online peers. Each peer will join the network with 2 attributes which are a username provided by user and the ip address they have. First of all, ip addresses are mostly dynamic, and users should be able to join the network from anywhere in the world. So, my question is how can I discover online peers, since I don't know their ip addresses?

    Regards.

  2. #2
    j2me64's Avatar
    j2me64 is offline Senior Member
    Join Date
    Sep 2009
    Location
    Zurich, Switzerland
    Posts
    962
    Rep Power
    6

    Default

    Quote Originally Posted by dogukan View Post
    So, my question is how can I discover online peers, since I don't know their ip addresses?

    in java you can program p2p with jxta. i'm not a specialist on that but in google with java jxta you will find a lot of sources.

Similar Threads

  1. How to make a peer-to-peer application
    By enrico96 in forum Advanced Java
    Replies: 1
    Last Post: 03-15-2010, 11:06 PM
  2. Trying to send UDP discovery packet
    By JohnST in forum New To Java
    Replies: 1
    Last Post: 12-26-2009, 08:32 PM
  3. Peer To Peer Voice and Video Streaming
    By hardeepbhullar in forum Networking
    Replies: 0
    Last Post: 10-31-2009, 01:33 PM
  4. Bible-Discovery 2.1
    By JavaBean in forum Java Software
    Replies: 0
    Last Post: 10-25-2007, 05:19 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •