schollz / peerdiscovery

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

AllowSelf can skip 0.0.0.0 and connect to itself #36

Open labi-le opened 7 months ago

labi-le commented 7 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 month ago

would accept PR