From ceeef4b90e43b6aba2eff7133895008781bb06dc Mon Sep 17 00:00:00 2001 From: Brett Date: Sat, 15 Apr 2023 20:35:18 -0400 Subject: [PATCH] server.java --- Assignment 4/src/ca/cosc3p91/a4/util/network/Server.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()); } } }