#include <netinet/in.h>
#include <fcntl.h>
+#include <sys/types.h>
+#include <sys/socket.h>
+
#include <avahi-common/simple-watch.h>
#include <avahi-common/malloc.h>
#include <avahi-common/error.h>
assert(sdref->n_ref >= 1);
switch (state) {
-
+
+ case AVAHI_CLIENT_FAILURE:
case AVAHI_CLIENT_DISCONNECTED:
if (sdref->service_browser_callback)
return;
switch (state) {
+ case AVAHI_CLIENT_FAILURE:
case AVAHI_CLIENT_DISCONNECTED:
reg_report_error(sdref, kDNSServiceErr_Unknown);
break;