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

Function SendProbe

engine/dlib/src/dlib/mdns.cpp:1235–1242  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1233 }
1234
1235 static void SendProbe(MDNS* mdns, const RegisteredService& service)
1236 {
1237 const uint32_t size = BuildProbeMessage(service, mdns->m_Buffer, sizeof(mdns->m_Buffer));
1238 if (size > 0)
1239 {
1240 SendPacketOnInterfaces(mdns->m_Socket, mdns->m_Buffer, size, mdns->m_InterfaceAddresses);
1241 }
1242 }
1243
1244 static bool ParseTxtRData(const uint8_t* data, uint16_t data_len, StoredTxt* txt, uint32_t max_txt, uint32_t* txt_count)
1245 {

Callers 1

AdvanceServiceLifecycleFunction · 0.85

Calls 2

BuildProbeMessageFunction · 0.85
SendPacketOnInterfacesFunction · 0.85

Tested by

no test coverage detected