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

Method Init

src/engine/shared/network_conn.cpp:70–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68}
69
70void CNetConnection::Init(NETSOCKET Socket, bool BlockCloseMsg)
71{
72 Reset();
73 ResetStats();
74
75 m_Socket = Socket;
76 m_BlockCloseMsg = BlockCloseMsg;
77 m_aErrorString[0] = '\0';
78}
79
80void CNetConnection::AckChunks(int Ack)
81{

Callers 2

ResetMethod · 0.45
ResumeConnectionMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected