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

Method Update

src/engine/shared/network_client.cpp:50–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48}
49
50void CNetClient::Update()
51{
52 m_Connection.Update();
53 if(m_Connection.State() == CNetConnection::EState::ERROR)
54 Disconnect(m_Connection.ErrorString());
55 m_pStun->Update();
56 m_TokenCache.Update();
57}
58
59void CNetClient::Connect(const NETADDR *pAddr, int NumAddrs)
60{

Callers

nothing calls this directly

Calls 2

StateMethod · 0.45
ErrorStringMethod · 0.45

Tested by

no test coverage detected