If Avahi isn't running, pri->client ends up null, and there is no way to check for this condition. Attempting to start a service publish or a browser results in Avahi throwing up a SIGABRT
It would be great if there was a way to check if required services are available and running before running any of the functions that require a valid client.
I modified startBrowser() and startServicePublish() to emit an error and return if pri->client is null (on latest master). Let me know if this fixes your issue.
If Avahi isn't running,
pri->client
ends up null, and there is no way to check for this condition. Attempting to start a service publish or a browser results in Avahi throwing up aSIGABRT
It would be great if there was a way to check if required services are available and running before running any of the functions that require a valid client.