TD2: Make the IHM client with one receive thread and one send thread.
[TD_SR.git] / TD2 / server / BroadcastoThreadService.java
index df56d31ed4c87c18a7041241be3d870f258fde23..3431b77e0f5bd7bce763013435f1263d706e8571 100644 (file)
@@ -58,6 +58,7 @@ public class BroadcastoThreadService 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 <" + roMsg + "> received from " + clientSocket.toString());
                        broadcastoMsg(roMsg);
                }
                sharedList.remove(OWriter);