Giter Site home page Giter Site logo

Comments (4)

jbagg avatar jbagg commented on August 20, 2024

the service appear an disappear in Discovery

  1. Do you see the service appear in the Discovery app on the same machine as the broadcast app or a different machine?

However when I restart the broadcaster I get neither serviceAdded nor serviceUpdated.

  1. How long have you waited for it to re-appear. zeroconf timeouts are something like 1-2 min.

  2. Do you have a linux PC you can put on the same network? Linux has a program called avahi-discover which is a service browers like the macOS Discovery app. It would be interesting to see what avahi-discover does.

  3. Have you tired the example in QfZeroConf? What happens when you enable and disable the service in the example program?

from qtzeroconf.

agentsim avatar agentsim commented on August 20, 2024
  1. Do you see the service appear in the Discovery app on the same machine as the broadcast app or a different machine?

Same machine. My app is also running on the same machine.

  1. How long have you waited for it to re-appear. zeroconf timeouts are something like 1-2 min.

30-45 seconds. I'll try again waiting longer. That said, the service reappears within 10s in Discovery.

  1. Do you have a linux PC you can put on the same network? Linux has a program called avahi-discover which is a service browers like the macOS Discovery app. It would be interesting to see what avahi-discover does.

I was originally developing on Linux (Ubuntu 18.04.) Under Linux the services appeared, disappeared and re-appeared correctly. I have made minor changes to my code since explicitly testing this, so I'll have to try again.

  1. Have you tired the example in QfZeroConf? What happens when you enable and disable the service in the example program?

No I haven't. I'll look into doing that and report back.

from qtzeroconf.

jbagg avatar jbagg commented on August 20, 2024

I would try Discovery on a second mac with your app on the first mac and/or avahi-discover on a linux box with your app on the mac.

from qtzeroconf.

agentsim avatar agentsim commented on August 20, 2024

I'll certainly try that, however I'm not sure what it would prove.

Discovery and the broadcaster both running on my Mac works nicely, with the service showing up within 10 seconds of being restarted.

My app using QtZeroConf and the broadcaster both running on my Mac results in the restarted service never appearing.

That delta in behaviour seems (to me) to be indicative of a bug even if I cannot reproduce it across machines.

from qtzeroconf.

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.