Home | History | Annotate | Download | only in mDNSShared

Lines Matching full:service

282 	// for the daemon to respond, but that's okay -- the daemon is a trusted service and we know if won't take more
289 // to communicate with the system service, we want to make sure that the next operation on this socket (accept() or
414 // Return a connected service ref (deallocate with DNSServiceRefDeallocate)
451 // <rdar://problem/4096913> If the system service is disabled, we only want to try to connect once
673 // but that's okay -- the daemon is a trusted service and we know if won't take more than a few milliseconds to respond.
759 // but that's okay -- the daemon is a trusted service and we know if won't take more than a few milliseconds to respond.
1945 DNSServiceRef service,
1949 int dnssd_fd = DNSServiceRefSockFD(service);
1956 if (service->disp_queue)
1961 if (service->disp_source)
1966 service->disp_source = dispatch_source_create(DISPATCH_SOURCE_TYPE_READ, dnssd_fd, 0, queue);
1967 if (!service->disp_source)
1972 service->disp_queue = queue;
1973 dispatch_source_set_event_handler(service->disp_source, ^{DNSServiceProcessResult(service);});
1974 dispatch_source_set_cancel_handler(service->disp_source, ^{dnssd_close(dnssd_fd);});
1975 dispatch_resume(service->disp_source);