diff --git a/assignments/src/MV3500Cohort2023MarchJune/homework1/Oblak/Assignment1Client.java b/assignments/src/MV3500Cohort2023MarchJune/homework1/Oblak/Assignment1Client.java index ce9d9b590720fa403a30ff8eca4b467015e21f07..d45e65a91d4151c5c0551497d1faab68e29fa8ce 100644 --- a/assignments/src/MV3500Cohort2023MarchJune/homework1/Oblak/Assignment1Client.java +++ b/assignments/src/MV3500Cohort2023MarchJune/homework1/Oblak/Assignment1Client.java @@ -81,7 +81,7 @@ public class Assignment1Client } catch (IOException | InterruptedException e) { - System.err.println("Problem with " + TcpExample3Client.class.getName() + " networking:"); // describe what is happening + System.err.println("Problem with " + Assignment1Client.class.getName() + " networking:"); // describe what is happening System.err.println("Error: " + e); // Provide more helpful information to user if exception occurs due to running twice at one time @@ -98,7 +98,7 @@ public class Assignment1Client // program exit: tell somebody about that happening. Likely cause: server drops connection. System.out.println(); - System.out.println(TcpExample3Client.class.getName() + " exit"); + System.out.println(Assignment1Client.class.getName() + " exit"); } } } diff --git a/assignments/src/MV3500Cohort2023MarchJune/homework1/Oblak/Assignmnet1Server.java b/assignments/src/MV3500Cohort2023MarchJune/homework1/Oblak/Assignmnet1Server.java index c900e282cef02511edcaf36cf7087b8b19581771..18dfeffddd352e4e67c490e2867401c420933b8b 100644 --- a/assignments/src/MV3500Cohort2023MarchJune/homework1/Oblak/Assignmnet1Server.java +++ b/assignments/src/MV3500Cohort2023MarchJune/homework1/Oblak/Assignmnet1Server.java @@ -83,7 +83,7 @@ public class Assignmnet1Server // Socket pair: (( /0:0:0:0:0:0:0:1, 2317 ), ( /0:0:0:0:0:0:0:1, 54881 )) // Why is the first IP/port the same, while the second set has different ports? - System.out.println(TcpExample3Server.class.getName() + " socket pair showing host name, address, port:"); + System.out.println(Assignmnet1Server.class.getName() + " socket pair showing host name, address, port:"); System.out.println(" (( " + localAddress.getHostName() + "=" + localAddress.getHostAddress() + ", " + localPort + " ), ( " + remoteAddress.getHostName() + "=" + remoteAddress.getHostAddress() + ", " + remotePort + " ))"); @@ -101,7 +101,7 @@ public class Assignmnet1Server } } } catch (IOException e) { - System.err.println("Problem with " + TcpExample3Server.class.getName() + " networking: " + e); + System.err.println("Problem with " + Assignmnet1Server.class.getName() + " networking: " + e); // Provide more helpful information to user if exception occurs due to running twice at one time if (e instanceof java.net.BindException) {