Open source Star Ruler 2 source code!
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
#define NET_IDLE_SLEEP 5
|
||||
|
||||
#include "network.h"
|
||||
const int MS_PORT = 8892;
|
||||
|
||||
int main(int argc, char** argv) {
|
||||
net::LobbyServer srv(MS_PORT);
|
||||
srv.runThreads(4);
|
||||
while(srv.active)
|
||||
threads::sleep(100);
|
||||
}
|
||||
Reference in New Issue
Block a user