schollz / peerdiscovery

Pure-Go library for cross-platform local peer discovery using UDP multicast :woman: :repeat: :woman:
MIT License
638 stars 55 forks source link

AllowSelf can skip 0.0.0.0 and connect to itself #36

Open labi-le opened 6 months ago

labi-le commented 6 months ago

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 Notify

schollz commented 1 week ago

would accept PR