Removed a lot of rubbish from the server

This commit is contained in:
Kayne Ruse
2013-11-02 19:00:08 +11:00
parent 2bd8adaf69
commit 54cd26b76f
17 changed files with 25 additions and 632 deletions
+3 -4
View File
@@ -29,14 +29,13 @@
#include <fstream>
int ClientEntry::indexCounter = 0;
ServerApplication ServerApplication::instance;
ServerApplication::ServerApplication() {
//TODO
//
}
ServerApplication::~ServerApplication() {
//TODO
//
}
void ServerApplication::Init(int argc, char** argv) {
@@ -65,7 +64,7 @@ void ServerApplication::Init(int argc, char** argv) {
else {
std::cout << "SDL_net initialized" << std::endl;
}
networkUtil.Open(8895, 1024);
networkUtil.Open(21795, 1024);
//Init SQL
std::string dbname = (argc > 1) ? argv[1] : argv[0];