TD2: Simplify the object serialization trough socket.
[TD_SR.git] / TD2 / client / Main.java
index 08300b7139c8f0b0236905b11561d8a19822862c..bd02ad4562eaf4a51a4ec7d86881b20464612969 100644 (file)
@@ -78,7 +78,7 @@ public class Main {
                Thread thR = null;
 
                try {
-                       client = new SocketClient();
+                       client = new SocketClient(true);
                        thS = new Thread(new ThreadClientoSend(client));
                        thR = new Thread(new ThreadClientoReceive(client));
                        thS.setName("thoS");