Skip to content
Snippets Groups Projects
Commit 14a521ef authored by Brittokki's avatar Brittokki
Browse files

No commit message

No commit message
parent a6efcc6b
No related merge requests found
......@@ -37,10 +37,8 @@ public static void main(String[] args)
OutputStream os = clientConnection.getOutputStream();
PrintStream ps = new PrintStream(os);
ps.println("This client response was written by Loki's server TcpExample1."); // to remote clientnc
ps.println(" _ _ _"+"\r\n"+"| | | | (_)"+"\r\n"+"| | ___ | | ___"+"\r\n"+"| |/ _ \\| |/ / |"+"\r\n"+"| | (_) | <| |"+"\r\n"+"|_|\\___/|_|\\_\\_|");
System.out.println("This server response was written by Loki's server TcpExample1."); // to server console
System.out.println(" _ _ _"+"\n"+"| | | | (_)"+"\n"+"| | ___ | | ___"+"\n"+"| |/ _ \\| |/ / |"+"\n"+"| | (_) | <| |"+"\n"+"|_|\\___/|_|\\_\\_|");
ps.println("This client response was written Captain Brittokki");
System.out.println("This server response was written Captain Brittokki");
// "flush()" in important in that it forces a write
// across what is in fact a slow connection
......
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