Trying to run demo app using Bonjour, but it can't discover the server running on the same host

StackOverflow https://stackoverflow.com/questions/19592836

  •  01-07-2022
  •  | 
  •  

Question

I've successfully compiled the demo app from a tutorial on using Bonjour from Qt, but when the client runs, it can't find the server, even though the server is running on the same computer!

Both the client and server use only dnssd.dll. Am I missing something? Do I need to have some sort of a daemon running?

I have no experience with Bonjour so it's entirely possible I've missed something obvious.

Was it helpful?

Solution

I found the answer at https://stackoverflow.com/a/1975685/492336

It turns out I need to download and run the Bonjour Installer from Apple.

After I installed Bonjour Printer Services, the demo client discovers the demo server.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top