Browse Source

clients in CopyOnWriteList

remotes/origin/feature/client/make-input-field-buttons-interactive^2
Paul Kattenborn 11 months ago
parent
commit
18b9ff3b03
  1. 1
      src/main/java/ChatServer.java

1
src/main/java/ChatServer.java

@ -19,6 +19,7 @@ public class ChatServer {
while(true) {
Socket connectionToClient = serverSocket.accept();
ClientHandler client = new ClientHandler(this, connectionToClient);
clients.add(client);
System.out.println("Accepted new Client");
}
} catch (IOException e) {

Loading…
Cancel
Save