Coder Social home page Coder Social logo

Comments (4)

jilchab avatar jilchab commented on September 18, 2024 2

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.

keepsimple1 avatar keepsimple1 commented on September 18, 2024 1

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.

keepsimple1 avatar keepsimple1 commented on September 18, 2024

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.

jilchab avatar jilchab commented on September 18, 2024

Yes I tried that but I got the same event repeatedly SearchStarted("._http._tcp.local.")

from mdns-sd.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.