Comments (4)
the service appear an disappear in Discovery
- 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.
-
How long have you waited for it to re-appear. zeroconf timeouts are something like 1-2 min.
-
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.
-
Have you tired the example in QfZeroConf? What happens when you enable and disable the service in the example program?
from qtzeroconf.
- 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.
- 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.
- 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.
- 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.
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.
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)
- qzeroconfigservice ipv4 property assigned ipv6 address HOT 18
- issue reading txtrecord of addService() HOT 3
- Power-Cycling Bonjour Devices Can Cause Permanent Loss HOT 8
- Library does not broadcast on Android devices HOT 1
- Windows 10 Loses Devices On WiFi Network Toggle HOT 4
- problem when renewing connexion HOT 15
- Update of TXT records
- Android: Temporary resolution failures result in service removal HOT 6
- SIGABRT on iOS HOT 4
- Segmentation fault while reading TXT records
- Android API Level 30 issues HOT 39
- No Services on iOS using test app HOT 8
- Cannot build example on FreeBSD HOT 4
- How to search for all kinds of services? HOT 4
- Use bonjour-sdk on other platforms, too? HOT 1
- SIGABRT if Avahi is not running on Linux HOT 2
- Add Qt6-Android support HOT 7
- Stopped working for ios 17 HOT 15
- Support for native Windows mDNS/DNS-SD stack HOT 1
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 qtzeroconf.