diff --git a/Assignment 4/src/ca/cosc3p91/a4/util/Server.java b/Assignment 4/src/ca/cosc3p91/a4/util/Server.java index f9d6550..e260403 100644 --- a/Assignment 4/src/ca/cosc3p91/a4/util/Server.java +++ b/Assignment 4/src/ca/cosc3p91/a4/util/Server.java @@ -100,7 +100,15 @@ public class Server implements Runnable { } private void processRequest(ServerRequest request){ - + try { + switch (request.getID()){ + case PacketTable.ACK: + long messageID = request.getDataStream().readLong(); + break; + } + } catch (IOException e) { + throw new RuntimeException(e); + } } public void run(){