MCPcopy Create free account
hub / github.com/defold/defold / QueryProducesNoMatchingResponse

Function QueryProducesNoMatchingResponse

engine/dlib/src/test/test_mdns.cpp:1094–1098  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1092 }
1093
1094 static bool QueryProducesNoMatchingResponse(dmMDNS::HMDNS mdns, dmSocket::Socket socket, const char* qname, uint16_t qtype, const std::vector<std::string>& names, uint32_t timeout_ms)
1095 {
1096 RawDnsPacket packet;
1097 return !SendQueryAndCapture(mdns, socket, qname, qtype, names, &packet, timeout_ms);
1098 }
1099
1100 static bool SendPacketAndCaptureResponse(dmMDNS::HMDNS mdns, dmSocket::Socket send_socket, dmSocket::Socket capture_socket, const uint8_t* data, uint32_t size, const std::vector<std::string>& names, RawDnsPacket* packet, uint32_t timeout_ms)
1101 {

Callers 1

TESTFunction · 0.85

Calls 1

SendQueryAndCaptureFunction · 0.85

Tested by

no test coverage detected