Lines Matching refs:errsd
553 dnssd_sock_t listenfd = dnssd_InvalidSocket, errsd = dnssd_InvalidSocket; in deliver_request() local
620 errsd = sp[0]; // We'll read our four-byte error code from sp[0] in deliver_request()
625 if (setsockopt(errsd, SOL_SOCKET, SO_DEFUNCTOK, &defunct, sizeof(defunct)) < 0) in deliver_request()
669 if (!MakeSeparateReturnSocket) errsd = sdr->sockfd; in deliver_request()
678 errsd = accept(listenfd, (struct sockaddr *)&daddr, &len); in deliver_request()
679 if (!dnssd_SocketValid(errsd)) deliver_request_bailout("accept"); in deliver_request()
733 errsd, listenfd, sizeof(dnssd_sock_t), sizeof(void*), in deliver_request()
742 errsd, listenfd, dnssd_errno, dnssd_strerror(dnssd_errno)); in deliver_request()
748 syslog(LOG_WARNING, "dnssd_clientstub sendmsg read sd=%d write sd=%d okay", errsd, listenfd); in deliver_request()
763 else if ((err = wait_for_daemon(errsd, DNSSD_CLIENT_TIMEOUT)) == kDNSServiceErr_NoError) in deliver_request()
765 if (read_all(errsd, (char*)&err, (int)sizeof(err)) < 0) in deliver_request()
777 if (dnssd_SocketValid(errsd)) dnssd_close(errsd); in deliver_request()