From 3cfb96a387af5a2cd417926b57b2c0b20278bea3 Mon Sep 17 00:00:00 2001 From: brutzman <brutzman@nps.edu> Date: Tue, 21 Aug 2018 19:21:11 -0700 Subject: [PATCH] comment, fix warning --- .../TcpExample5/WebExample/src/webexample/WebExample.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/TcpExample5/WebExample/src/webexample/WebExample.java b/projects/TcpExample5/WebExample/src/webexample/WebExample.java index e792369a94..5d2f18e03f 100644 --- a/projects/TcpExample5/WebExample/src/webexample/WebExample.java +++ b/projects/TcpExample5/WebExample/src/webexample/WebExample.java @@ -35,7 +35,7 @@ public class WebExample { // Commands have to terminate with "carriage return/line feed" // twice to end the request. Those are the special characters - // to have the control characters printed. + // to have the control characters printed. Part of the http protocol! ps.print("\r\n\r\n"); ps.flush(); @@ -57,7 +57,7 @@ public class WebExample { } System.out.println("web server message finished"); } - catch(Exception e) + catch(IOException e) { System.out.println(e); System.out.println("Problem with client"); -- GitLab