Browse Source

grober Serverentwurf

remotes/origin/feature/client/make-input-field-buttons-interactive
fdai7599 11 months ago
parent
commit
fe06d4ccdf
  1. 7
      src/main/java/ChatServer.java

7
src/main/java/ChatServer.java

@ -13,11 +13,16 @@ public class ChatServer {
System.out.println("Started ChatServer on port " + port); System.out.println("Started ChatServer on port " + port);
Socket connectionToClient = serverSocket.accept(); Socket connectionToClient = serverSocket.accept();
System.out.println("Accepted new Client"); System.out.println("Accepted new Client");
} catch (IOException e) {
}
catch (IOException e) {
e.printStackTrace(); e.printStackTrace();
} }
}
public void broadcastMessage(String s) {
} }
public static void main(String[] args) { public static void main(String[] args) {

Loading…
Cancel
Save