I've got another problem , the function getPeerCount() returns 101 no matter how many clients are connected to the server. Is this because I'm using it incorrectly or because it hasn't been implemented(yet)?
the way I use it:
Code: Select all
cout << "Peercount: "<< netManager->getPeercount()<<endl;
//with netManager being "created" with the 2 following lines
//MyNetCallback* netCallback = new MyNetCallback();
//net::INetManager* netManager = net::createIrrNetServer(netCallback);