Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
32
static int RetryWaitSeconds(int NumUnsuccessfulTries)
33
{
34
return (1 << std::clamp(NumUnsuccessfulTries, 0, 9));
35
}
36
37
CStun::CProtocol::CProtocol(int Index, NETSOCKET Socket) :
38
m_Index(Index),
Callers
1
Update
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected