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

Function RetryWaitSeconds

src/engine/shared/network_stun.cpp:32–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30}
31
32static int RetryWaitSeconds(int NumUnsuccessfulTries)
33{
34 return (1 << std::clamp(NumUnsuccessfulTries, 0, 9));
35}
36
37CStun::CProtocol::CProtocol(int Index, NETSOCKET Socket) :
38 m_Index(Index),

Callers 1

UpdateMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected