Server can handle multiple dropped clients at once

This commit is contained in:
Kayne Ruse
2015-02-17 20:48:03 +11:00
parent 87af4f1a1e
commit 2cc7260552
3 changed files with 28 additions and 17 deletions
+2 -1
View File
@@ -29,12 +29,13 @@
#include "SDL/SDL_net.h"
#include <functional>
#include <list>
#include <map>
class ClientManager: public Singleton<ClientManager> {
public:
//methods
int CheckConnections();
std::list<int> CheckConnections();
void HandlePong(ServerPacket* const argPacket);
//common public methods