HomeSort by relevance Sort by last modified time
    Searched refs:listenfd (Results 1 - 2 of 2) sorted by null

  /external/mdnsresponder/mDNSShared/
dnssd_clientstub.c 552 dnssd_sock_t listenfd = dnssd_InvalidSocket, errsd = dnssd_InvalidSocket; local
579 listenfd = socket(AF_DNSSD, SOCK_STREAM, 0);
580 if (!dnssd_SocketValid(listenfd)) deliver_request_bailout("TCP socket");
585 if (bind(listenfd, (struct sockaddr*) &caddr, sizeof(caddr)) < 0) deliver_request_bailout("TCP bind");
586 if (getsockname(listenfd, (struct sockaddr*) &caddr, &len) < 0) deliver_request_bailout("TCP getsockname");
587 if (listen(listenfd, 1) < 0) deliver_request_bailout("TCP listen");
597 listenfd = socket(AF_DNSSD, SOCK_STREAM, 0);
598 if (!dnssd_SocketValid(listenfd)) deliver_request_bailout("USE_NAMED_ERROR_RETURN_SOCKET socket");
608 bindresult = bind(listenfd, (struct sockaddr *)&caddr, sizeof(caddr));
611 if (listen(listenfd, 1) < 0) deliver_request_bailout("USE_NAMED_ERROR_RETURN_SOCKET listen")
    [all...]
uds_daemon.c 254 static dnssd_sock_t listenfd = dnssd_InvalidSocket; variable
    [all...]

Completed in 38 milliseconds