diff --git a/Assignment 4/src/ca/cosc3p91/a4/util/network/Server.java b/Assignment 4/src/ca/cosc3p91/a4/util/network/Server.java index 4286846..22f799a 100644 --- a/Assignment 4/src/ca/cosc3p91/a4/util/network/Server.java +++ b/Assignment 4/src/ca/cosc3p91/a4/util/network/Server.java @@ -136,7 +136,7 @@ public class Server implements Runnable { for (Map.Entry message : sentMessages.entrySet()){ if (message.getValue().getTimeSinceSent().get() > MAX_PACKET_ACK_TIME_SECONDS) { System.out.println("The server did not process our message, did they receive it?"); - // todo: resend message + sendMessage(message.getValue()); } } }