Lines Matching refs:listenfd
254 static dnssd_sock_t listenfd = dnssd_InvalidSocket;
3999 listenfd = socket(AF_DNSSD, SOCK_STREAM, 0);
4000 if (!dnssd_SocketValid(listenfd))
4013 ret = bind(listenfd, (struct sockaddr *) &laddr, sizeof(laddr));
4016 my_perror("ERROR: bind(listenfd, (struct sockaddr *) &laddr, sizeof(laddr)); failed");
4036 ret = bind(listenfd, (struct sockaddr *) &laddr, sizeof(laddr));
4040 my_perror("ERROR: bind(listenfd, (struct sockaddr *) &laddr, sizeof(laddr)); failed");
4046 if (!uds_socket_setup(listenfd)) goto error;
4108 if (dnssd_SocketValid(listenfd))
4110 dnssd_close(listenfd);