TD2: Make the IHM client with one receive thread and one send thread.
[TD_SR.git] / TD2 / server / BroadcastThreadService.java
index fd05e176447fa230421792430274ec96fcecc80d..4bb29435b74ebcd62f554aa4399586cd209a513a 100644 (file)
@@ -54,6 +54,7 @@ public class BroadcastThreadService implements Runnable {
                                end = true; // le thread de service doit terminer
                                break; // do not broadcast the dot that will close all clients threads
                        }
+                       System.out.println("Broadcasting the message <" + theLine + "> received from " + clientSocket.toString());
                        broadcastMsg(theLine);
                }
                sharedList.remove(OWriter);