re: Make a P2P connection in 10 minutes VIEW POST


If this implementation sometimes doesn't work is because of some issues with the discovery-swarm library. Fortunately, Hyperswarm was released recently. It implements a more reliable way of doing peer discovery. So, if you are experimenting issues try to use it now, this article about Hyperswarm includes a code example and here is the GitHub repo with some docs:

code of conduct - report abuse