Comments (6)
So my debugger is showing the call ipv4.ReadFrom
in mdns.go is calling through to payload_nocmsg.go
in golang.net/x.net
(note the this is the No CMsg variant).
From looking at the go:build
statements, it looks like this is because the NoCMsg variant is always used on non-Unix platforms IE Windows like this issue is exhibiting on.
It looks like control messages are not implemented on Windows according to his bug: golang/go#20153
from dnssd.
I've submitted an MR which takes the first proposed approach above. This appears to resolve the issue in my testing but I'd be interested to understand the route of this issue further.
from dnssd.
cm
is the control message and should include the network interface – see mdns.go.
We should investigate why this is nil.
from dnssd.
I can confirm, solution in PR fix work on Windows
from dnssd.
Thanks, @AlexxIT, @brutella would you consider merging the pull-request to work around the issue? It seems like it's sensible defensive programming, even though I agree it would be nice to have the underlying issue resolved.
from dnssd.
I have the same problem on Windows 10 Pro.
mdns.go It will get an error message in my system not implemented on windows/amd64
@rblenkinsopp @brutella
from dnssd.
Related Issues (20)
- Rediscovery services and mdns HOT 5
- Question: Service on same IP (cmd/register) is not found by cmd/browse HOT 4
- Fix IP address of a service is published on all network interfaces
- Requested unicast responses are never received
- TXT record updates are not published on all network interfaces
- Lookup services will fail to list ips if the service name contains more than one dot HOT 7
- Publish service on loopback network interface
- Howto: query meta service _services._dns-sd._udp.local HOT 6
- panic (sigsegv) in dnssd.probeAtInterface() HOT 2
- by default listens on port 5353 HOT 3
- Question: Refactoring branch HOT 3
- G601: Implicit memory aliasing in for loop. (gosec) HOT 2
- Browse in refactoring branch is broken for windows HOT 3
- How to get hostname and port from a browse? HOT 2
- mdnsConn.readInto() high cpu usage HOT 1
- Publish service on provided interfaces only HOT 3
- #35 fix code not int tag v1.2.3 HOT 1
- Trying to publish A record HOT 3
- Browse example only works with full service strings HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dnssd.