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