Searched refs:sendingsocket (Results 1 - 2 of 2) sorted by relevance

/external/mdnsresponder/mDNSPosix/
H A DmDNSPosix.c163 int sendingsocket = -1; local
186 sendingsocket = thisIntf ? thisIntf->multicastSocket4 : m->p->unicastSocket4;
200 sendingsocket = thisIntf ? thisIntf->multicastSocket6 : m->p->unicastSocket6;
204 if (sendingsocket >= 0)
205 err = sendto(sendingsocket, msg, (char*)end - (char*)msg, 0, (struct sockaddr *)&to, GET_SA_LEN(to));
/external/mdnsresponder/mDNSWindows/
H A DmDNSWin32.c1533 SOCKET sendingsocket = INVALID_SOCKET; local
1557 sendingsocket = ifd ? ifd->sock.fd : inMDNS->p->unicastSock4.fd;
1559 if (inSrcSocket) { sendingsocket = inSrcSocket->fd; debugf("mDNSPlatformSendUDP using port %d, static port %d, sock %d", mDNSVal16(inSrcSocket->port), inMDNS->p->unicastSock4.fd, sendingsocket); }
1571 sendingsocket = ifd ? ifd->sock.fd : inMDNS->p->unicastSock6.fd;
1580 if (IsValidSocket(sendingsocket))
1582 n = sendto( sendingsocket, (char *) inMsg, n, 0, (struct sockaddr *) &addr, sizeof( addr ) );

Completed in 3545 milliseconds