Procházet zdrojové kódy

rised max connected users

Kajetan Johannes Hammerle před 5 roky
rodič
revize
a6b5187720
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      Main.cpp

+ 1 - 1
Main.cpp

@@ -12,7 +12,7 @@ int main() {
     if(socket.start(4456)) {
         return 0;
     }
-    std::array<Client, 1> clients;
+    std::array<Client, 20> clients;
     while(true) {
         int clientId = socket.waitForClients(100);
         if(clientId != -1) {