zeroconf icon indicating copy to clipboard operation
zeroconf copied to clipboard

Not able to discover/browse service using service subtype

Open ShrutiGunwant opened this issue 4 years ago • 1 comments

  1. I have publish service with type and subtype by parsing comma separated list as (_os._udp , _windows) using example (https://github.com/grandcat/zeroconf/blob/master/examples/register/server.go)

  2. Able to discover/browse service using (https://github.com/grandcat/zeroconf/blob/master/examples/resolv/client.go) with default type as "_os._udp"

  3. But not able to discover service with the subtype. Provide comma separated list as (service = flag.String("service", "_os._udp, _windows", "Set the service type of the new service.") This gives result as "No more entries".

ShrutiGunwant avatar Nov 11 '21 11:11 ShrutiGunwant

I ran into this issue as well when implementing discovery for the web of things. (https://w3c.github.io/wot-discovery/#introduction-dns-sd-sec)

Looks like this was fixed in https://github.com/grandcat/zeroconf/issues/36. However, the date of that fix is may 28, 2020. Version 1.0.0 was tagged on Jan 29, 2020 (https://github.com/grandcat/zeroconf/releases/tag/v1.0.0) and doesn't have this fix.

@grandcat Would it be possible to get a new tag so it can be used.

hspaay avatar Feb 09 '25 22:02 hspaay