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

Method Close

src/engine/shared/network_server.cpp:87–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85}
86
87void CNetServer::Close()
88{
89 if(!m_Socket)
90 {
91 return;
92 }
93 net_udp_close(m_Socket);
94 m_Socket = nullptr;
95}
96
97void CNetServer::Drop(int ClientId, const char *pReason)
98{

Callers

nothing calls this directly

Calls 1

net_udp_closeFunction · 0.85

Tested by

no test coverage detected