Doesn't work in Windows 10 browser
- Dominant language
- Go
- Stars
- 1.4k
- Forks
- 225
- Avg merge
- 15h 34m
- Merged PRs (30d)
- 3
Description
Looks like the project has been abandoned?
On Windows10 I tried this for use in the browser, but it didn't work. What am I doing wrong?
```
// Setup our service export
host, _ := os.Hostname()
fmt.Printf("Hostname at %s\n", host)
info := []string{"My awesome service"}
ip := net.ParseIP("127.0.0.1")
service, err2 := mdns.NewMDNSService(host, "_http._tcp.", "", "server.", 8089, []net.IP{ip}, info)
// fmt.Fprintf(w, "NewMDNSService err: %v", err2)
fmt.Println(err2)
// Create the mDNS server, defer shutdown
server, err2 := mdns.NewServer(&mdns.Config{Zone: service})
// fmt.Fprintf(w, "NewMDNSService err: %v", err2)
fmt.Println(err2)
// defer server.Shutdown()
_ = server
```
Contributor guide
Research direction
Start with the reported calls to mdns.NewMDNSService and mdns.NewServer, then reproduce the example on Windows 10 with a browser. Determine whether the failure is service advertisement, browser discovery, or setup, and document a confirmed fix or the supported behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100