Search code examples
network-programmingdistributedp2p

How P2P applications find other nodes?


I was wondering how in a decentralized P2P network each node can find other nodes...


Solution

  • You might want to take a look at this article: http://cs.berry.edu/~nhamid/p2p/

    But in general you've a server with a list a known peers to advertise.

    Also, if you're looking for an implementation less "peer server" dependent, take a look here: TCP P2P without server.