Commit 88d516da authored by Alexander's avatar Alexander

Improve statistics

parent ecbd8996
......@@ -78,9 +78,11 @@ public class Assignment2TestBase extends TestBase {
System.out.printf("\n\nYou mastered %.2f %% of the %d tests!%n", percentage, sum);
try {
Socket socket = new Socket("vaelum.de", 12000);
Socket socket = new Socket("vaelum.de", 12001);
PrintWriter out = new PrintWriter(socket.getOutputStream());
out.print("statistics " + percentage + "\n");
out.print("statistics\n");
out.flush();
out.print(percentage + "\n");
out.flush();
out.close();
socket.close();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment