Browse Source

zusätzliche Ausgabenachricht

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

1
src/main/java/ChatServer.java

@ -17,6 +17,7 @@ public class ChatServer {
System.out.println("Started ChatServer on port " + port); System.out.println("Started ChatServer on port " + port);
while(true) { while(true) {
System.out.println("waiting for new Client...");
Socket connectionToClient = serverSocket.accept(); Socket connectionToClient = serverSocket.accept();
ClientHandler client = new ClientHandler(this, connectionToClient); ClientHandler client = new ClientHandler(this, connectionToClient);
clients.add(client); clients.add(client);

Loading…
Cancel
Save