MCPcopy Create free account
hub / github.com/ddnet/ddnet / IndexToSystem

Function IndexToSystem

src/engine/shared/network_stun.cpp:20–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18}
19
20static const char *IndexToSystem(int Index)
21{
22 switch(Index)
23 {
24 case 0:
25 return "stun/6";
26 case 1:
27 return "stun/4";
28 }
29 dbg_assert_failed("invalid index %d", Index);
30}
31
32static int RetryWaitSeconds(int NumUnsuccessfulTries)
33{

Callers 2

UpdateMethod · 0.85
OnPacketMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected