Closed tetsuo closed 5 years ago
Hi @tetsuo how did you solve this?
Hey @AbleLincoln, I actually couldn't. I forgot what the issue was, but I guess it was related to not being able to disable one of the discovery methods that is running in the background.
You can try hyperswarm, looks like that one is actively maintained.
Thank you @tetsuo, I checked out that library and it works perfectly for my needs.
I want to connect to another peer only once regardless of the connection type or if I'm the initiator or not.
What I'm expecting is to be able to just destroy a socket if it's not needed. But, once I do, it tries to re-connect.
What is the proper way of making sure that you're connected to a peer already and there are no dangling sockets?