TD2: Make the client send and receive object message.
[TD_SR.git] / TD2 / client / ClientSimplifie.java
index 84fecb56e6b974b6385e1baacd12fd4417954341..ace3bd7659961b9f1ee9f2944000636a0cd36ef7 100644 (file)
@@ -49,9 +49,9 @@ public class ClientSimplifie {
     }
 
     private void attributesInit() {
+        sock = null;
         lecture = null;
         ecriture  = null;
-        sock = null;
     }
 
     /**
@@ -69,7 +69,7 @@ public class ClientSimplifie {
      */
     public String receiveMsg() throws IOException {
         String line = new String();
-        //FIXME: read only the line before the ending newline
+        //FIXME?: read only the line before the ending newline
         line = lecture.readLine();
         return line;
     }