|
@ -15,12 +15,12 @@ public class ChatServer { |
|
|
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 void broadcastMessage(String s) { |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|