Comments (4)
Alright so even without the leading .
it still not working.
But the example worked fine!
I am still looking what is the difference between my code and the example but it's really weird.
If I found what was wrong I'll let you know.
Thank you!
EDIT: Nevermind I had not properly removed the leading .
. It works great now with browse("_http._tcp.local.")
from mdns-sd.
Yes I tried that but I got the same event repeatedly
SearchStarted("._http._tcp.local.")
Can you try with no leading .
as well? You can also run the examples/query.rs
of this repo as following to test: (it will append .local.
for you)
$ cargo run --example query _http._tcp
Finished dev [unoptimized + debuginfo] target(s) in 0.04s
Running `target/debug/examples/query _http._tcp`
Received other event: SearchStarted("_http._tcp.local.")
Received other event: ServiceFound("_http._tcp.local.", "Brother HL-L2390DW._http._tcp.local.")
from mdns-sd.
You need to add .local.
at the end of the service type calling browse
. See example at here. Let me know if still not working. I will try to add more doc comments for browse method.
from mdns-sd.
Yes I tried that but I got the same event repeatedly SearchStarted("._http._tcp.local.")
from mdns-sd.
Related Issues (20)
- error message from address decoding HOT 1
- Allow the user to disable IPv6 if desired HOT 1
- Malformed mDNS query causes ServiceDaemon to panic HOT 2
- `.browse` for all subservice's HOT 9
- Not consistent shutdowns and no way to know if shut down? HOT 7
- Trouble with query_missing_srv() HOT 5
- check_service_name_length() attempt to subtract with overflow HOT 5
- Updating service info when service is registered HOT 2
- A and AAAA mDNS records HOT 13
- Use `serde` for de/ser Txt Records HOT 4
- Failed to send to ... Resource temporarily unavailable (os error 11) HOT 2
- Received length loss HOT 21
- When a receiver is dropped, the error produced by sender should not be Error HOT 5
- Issues with using a multicast IP for a service HOT 7
- Services published using python-zerconf or systemd-resolved are not resolved HOT 17
- Utility function to resolve mDNS hostnames HOT 7
- Add support for traffic reduction techniques from RFC6762, sec. 7 HOT 1
- Too verbose logging, even when logging is not enabled HOT 6
- question about interaction between record refresh and cache flush bit HOT 5
- Refactor functions warned by clippy::cognitive_complexity lint 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 mdns-sd.