}// create clientclient =avahi_client_new( avahi_threaded_poll_get(poller), AVAHI_CLIENT_NO_FAIL, &Publisher::clientCallback,this, &error);if(client ==NULL) {std::cerr<<"Failed to create avahi client ("<< avahi_strerror(error) <<")"<<std::endl;return; } error = avahi_threaded_p...