Lines Matching refs:errsd
552 dnssd_sock_t listenfd = dnssd_InvalidSocket, errsd = dnssd_InvalidSocket;
619 errsd = sp[0]; // We'll read our four-byte error code from sp[0]
624 if (setsockopt(errsd, SOL_SOCKET, SO_DEFUNCTOK, &defunct, sizeof(defunct)) < 0)
668 if (!MakeSeparateReturnSocket) errsd = sdr->sockfd;
677 errsd = accept(listenfd, (struct sockaddr *)&daddr, &len);
678 if (!dnssd_SocketValid(errsd)) deliver_request_bailout("accept");
732 errsd, listenfd, sizeof(dnssd_sock_t), sizeof(void*),
741 errsd, listenfd, dnssd_errno, dnssd_strerror(dnssd_errno));
747 syslog(LOG_WARNING, "dnssd_clientstub sendmsg read sd=%d write sd=%d okay", errsd, listenfd);
762 else if ((err = wait_for_daemon(errsd, DNSSD_CLIENT_TIMEOUT)) == kDNSServiceErr_NoError)
764 if (read_all(errsd, (char*)&err, (int)sizeof(err)) < 0)
776 if (dnssd_SocketValid(errsd)) dnssd_close(errsd);