Explorar el Código

rised max connected users

Kajetan Johannes Hammerle hace 4 años
padre
commit
a6b5187720
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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) {