start server
This commit is contained in:
@@ -1,6 +1,10 @@
|
||||
#include "ChatServer.h"
|
||||
|
||||
//void ChatServer::onLoad() {}
|
||||
void ChatServer::onLoad() {
|
||||
ServerModule* sm = (ServerModule*) moduleInstances[ServerModule()];
|
||||
|
||||
sm->startServer(9932);
|
||||
}
|
||||
|
||||
//void ChatServer::run() {}
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ class ChatServer : public Archimedes::Module {
|
||||
if(app) {}
|
||||
}
|
||||
|
||||
//void onLoad();
|
||||
void onLoad();
|
||||
|
||||
//void run();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user