-
Notifications
You must be signed in to change notification settings - Fork 208
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No results (Windows) #80
Comments
With some debug info enabled and Wireshark running, it looks like the query packet is never sent:
|
It seems that on Windows we need to explicitly set Here's a quick snippet of code that makes my queries work on Windows. I'm not sure the best way to find the right interface without knowing the name ahead of time yet.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Seems to work fine on a Pi. Here's the same code running under Windows:
c:\repo\src>go run mdns.go
2020/03/31 16:21:23 [ERR] mdns: Failed to bind to udp6 port: listen udp6 [ff02::fb]:5353: setsockopt: not supported by windows
2020/03/31 16:21:24 [ERR] mdns: Failed to read packet: read udp4 0.0.0.0:52447: use of closed network connection
The text was updated successfully, but these errors were encountered: