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

Method ResumeOldConnection

src/engine/shared/network_server.cpp:741–745  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

739}
740
741void CNetServer::ResumeOldConnection(int ClientId, int OrigId)
742{
743 m_aSlots[ClientId].m_Connection.ResumeConnection(ClientAddr(OrigId), m_aSlots[OrigId].m_Connection.SeqSequence(), m_aSlots[OrigId].m_Connection.AckSequence(), m_aSlots[OrigId].m_Connection.SecurityToken(), m_aSlots[OrigId].m_Connection.ResendBuffer(), m_aSlots[OrigId].m_Connection.m_Sixup);
744 m_aSlots[OrigId].m_Connection.Reset();
745}
746
747void CNetServer::IgnoreTimeouts(int ClientId)
748{

Callers 1

SetTimedOutMethod · 0.80

Calls 6

ResumeConnectionMethod · 0.80
SeqSequenceMethod · 0.80
AckSequenceMethod · 0.80
SecurityTokenMethod · 0.80
ResendBufferMethod · 0.80
ResetMethod · 0.45

Tested by

no test coverage detected