Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • lrougero/sr03_devoir1
1 result
Show changes
Commits on Source (2)
......@@ -60,7 +60,7 @@ public class Client {
this.user.out.writeUTF("exit");
sc.close();
System.out.println("Disconnected");
break;
System.exit(1);
}else {
out.writeUTF(to_send);
}
......
......@@ -34,7 +34,9 @@ public class ClientMessageReceptor extends Thread{
System.out.println(message);
}catch (EOFException e){
this.client.sock.close();
break;
System.out.println("___Déconnexion du serveur___");
System.out.println("___Fin programme___");
System.exit(1);
}
}
} catch (IOException e) {
......
package server;
import java.util.List;
public class Main {
public static void main(String[] args) {
Serveur serveur = new Serveur();
......