Skip to content
Snippets Groups Projects
Commit c1bac0c9 authored by jonathanboron's avatar jonathanboron
Browse files

Homework 1 v2

parent c81f9d01
No related branches found
No related tags found
No related merge requests found
......@@ -55,7 +55,7 @@ public class BoronTcpExample1Telnet1
ps.println("This client response was written by Capt. Jonathan Boron."); // to remote clientnc
ps.println("Connection achieved at time: " + new Timestamp(System.currentTimeMillis()));
ps.println(new Timestamp(System.currentTimeMillis()));
System.out.println("This server response was written by Capt. Jonathan Boron."); // to server console
System.out.println("Connection achieved at time: " + new Timestamp(System.currentTimeMillis()));
// "flush()" in important in that it forces a write
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment