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

Function AnnounceService

engine/dlib/src/dlib/mdns.cpp:1225–1233  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1223 }
1224
1225 static void AnnounceService(MDNS* mdns, const RegisteredService& service, uint32_t ttl)
1226 {
1227 HandleAnnounceResponse(mdns, service, 0, ttl);
1228
1229 for (uint32_t i = 0; i < mdns->m_InterfaceAddresses.Size(); ++i)
1230 {
1231 HandleAnnounceResponse(mdns, service, &mdns->m_InterfaceAddresses[i], ttl);
1232 }
1233 }
1234
1235 static void SendProbe(MDNS* mdns, const RegisteredService& service)
1236 {

Callers 3

AdvanceServiceLifecycleFunction · 0.85
DeregisterServiceFunction · 0.85
DeleteFunction · 0.85

Calls 2

HandleAnnounceResponseFunction · 0.85
SizeMethod · 0.45

Tested by

no test coverage detected