Open freddi301 opened 3 years ago
When you say “working” what do you mean exactly? Can you provide a full gist of a non working example? That’ll make it easier to help
repo https://github.com/freddi301/p2p-network-tools/tree/master/desktop If i join a common topic right after initializing the swarm, the two nodes do connect. If i join a common topic some time after initializing swarm the two nodes do not connect. If i call swarm.network.bind() right after swarm initialization and join a common topic some time after, the two nodes do connect. I updated the description
testing on the same machine, and 2 machines over LAN
two nodes connect as expected
two nodes does not connect
workaround (the nodes connect)
Maybe i am missing something in the docs? Maybe it has something to do with how discovery cycle works?