diff --git a/deliverables/src/MV3500Cohort2018JulySeptember/homework2/CainAssignment2.4Client.png b/deliverables/src/MV3500Cohort2018JulySeptember/homework2/Cain/CainAssignment2.4Client.png similarity index 100% rename from deliverables/src/MV3500Cohort2018JulySeptember/homework2/CainAssignment2.4Client.png rename to deliverables/src/MV3500Cohort2018JulySeptember/homework2/Cain/CainAssignment2.4Client.png diff --git a/deliverables/src/MV3500Cohort2018JulySeptember/homework2/CainAssignment2.4Server.png b/deliverables/src/MV3500Cohort2018JulySeptember/homework2/Cain/CainAssignment2.4Server.png similarity index 100% rename from deliverables/src/MV3500Cohort2018JulySeptember/homework2/CainAssignment2.4Server.png rename to deliverables/src/MV3500Cohort2018JulySeptember/homework2/Cain/CainAssignment2.4Server.png diff --git a/deliverables/src/MV3500Cohort2018JulySeptember/homework2/CainAssignment2_UML.pptx b/deliverables/src/MV3500Cohort2018JulySeptember/homework2/Cain/CainAssignment2_UML.pptx similarity index 100% rename from deliverables/src/MV3500Cohort2018JulySeptember/homework2/CainAssignment2_UML.pptx rename to deliverables/src/MV3500Cohort2018JulySeptember/homework2/Cain/CainAssignment2_UML.pptx diff --git a/deliverables/src/MV3500Cohort2018JulySeptember/homework2/CainTcpClient.java b/deliverables/src/MV3500Cohort2018JulySeptember/homework2/CainTcpClient.java index 84fa0846ce1713ae38b9c94e28fad3ea09438a96..8b18631fcd57e670e8e798f635687ced70d21744 100644 --- a/deliverables/src/MV3500Cohort2018JulySeptember/homework2/CainTcpClient.java +++ b/deliverables/src/MV3500Cohort2018JulySeptember/homework2/CainTcpClient.java @@ -10,7 +10,14 @@ import java.net.*; public class CainTcpClient { public final static String LOCALHOST = "0:0:0:0:0:0:0:1"; // String constant, i.e. 127.0.0.1 - + +/* +* main class with client requesting to talk to server. After server accepts +* client's request to join on 2468, encoding enables both server and client +* to talk via messages below. A differentiating feature is to have the message +* show up on both the client and server output so the conversation between +* both makes sense and don't have to click back and forth to understand. +*/ public static void main(String[] args) { try { while (true) { diff --git a/deliverables/src/MV3500Cohort2018JulySeptember/homework2/CainTcpServer.java b/deliverables/src/MV3500Cohort2018JulySeptember/homework2/CainTcpServer.java index 4ef063425e64d28f99acf21a00be85ad0aec1d92..31b39704ed3447c7531839818d9ae2cb61d32533 100644 --- a/deliverables/src/MV3500Cohort2018JulySeptember/homework2/CainTcpServer.java +++ b/deliverables/src/MV3500Cohort2018JulySeptember/homework2/CainTcpServer.java @@ -12,6 +12,13 @@ import java.net.*; public class CainTcpServer { +/* +* main class with server listening for the client and will then stop blocking. +* After server accepts client's request to join on 2468, encoding enables both server and client +* to talk via messages below. A differentiating feature is to have the message +* show up on both the client and server output so the conversation between +* both makes sense and don't have to click back and forth to understand. +*/ public static void main(String[] args) { try