-
Hi, I'm about to use this library in a client-server project where the client should be able to discover servers in the lan.
I looked at the `PeerDiscovery` object and its attached methods. For me,…
-
https://github.com/schollz/peerdiscovery/blob/70a1537e7ae30511c0418feb2fafd49b1f60286a/listener.go#L127
For example, if the computer has lost access to the Internet, the IP 0.0.0.0.0 will appear in…
-
```
Currently, it can happen that a PeerDiscovery adds an unresolvable address.
This will crash the PeerGroup with a NPE.
I'd propose a check in PeerGroup.discoverPeers() similar to this:
…
-
Originally reported on Google Code with ID 338
```
Currently, it can happen that a PeerDiscovery adds an unresolvable address. This will
crash the PeerGroup with a NPE.
I'd propose a check in PeerGr…
-
```
Currently, it can happen that a PeerDiscovery adds an unresolvable address.
This will crash the PeerGroup with a NPE.
I'd propose a check in PeerGroup.discoverPeers() similar to this:
…
-
### Info:
- Reference: https://kotlinlang.org/docs/reference/basic-types.html#unsigned-integers
- KEEP: https://github.com/Kotlin/KEEP/blob/master/proposals/unsigned-types.md
### Test case:
```
…
-
```
Currently, if I construct a PeerDiscovery with less than maxConnection peers,
It'll just connect multiple times. In the extreme case, that can be
maxConnection connections to the same peer. Its …
-
I'm running two nodes on the same machine and can see:
> libp2p:mdns peer found 12D3KooWFvEoC1NJz5Cgcji15WyNGRjo85ytgMi7PJCQnTeTHM2B +0ms
libp2p:mdns discovered peer in mDNS query response 12D…
-
```
Currently, if I construct a PeerDiscovery with less than maxConnection peers,
It'll just connect multiple times. In the extreme case, that can be
maxConnection connections to the same peer. Its …
-
Originally reported on Google Code with ID 303
```
Currently, if I construct a PeerDiscovery with less than maxConnection peers, It'll
just connect multiple times. In the extreme case, that can be ma…