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

Doesn't work with AllowSelf on windows #25

Closed phanirithvij closed 1 month ago

phanirithvij commented 3 years ago

I've tried the IPV4 example with AllowSelf set to true on windows, without any other changes but It doesn't discover other local peers.

But it works on my android 10 device android/arm64 cross-compiled on windows run via termux. Windows can't discover the android peer but android can discover another instance of itself and also windows (in the same wifi).

schollz commented 1 month ago

would accept PR

phanirithvij commented 1 month ago

I no longer use windows and I don't think I can fix this issue even if I did.