Skip to content
Snippets Groups Projects
Commit f90eb16b authored by Peter's avatar Peter
Browse files

Started Assignment 1

parent bce2169f
No related branches found
No related tags found
No related merge requests found
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package MV3500Cohort2018JulySeptember.homework1;
import java.io.IOException;
import java.io.OutputStream;
......@@ -5,11 +11,6 @@ import java.io.PrintStream;
import java.net.ServerSocket;
import java.net.Socket;
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/**
*
* @author Peter
......@@ -30,7 +31,7 @@ public class SeversonAssignment1 {
PrintStream ps = new PrintStream(os);
ps.println("This client response was written by server TcpExample1"); // to remote client
System.out.println("This response was written by server TcpExample1"); // to server console
System.out.println("This server response was written by server TcpExample1"); // to server console
ps.flush();
clientConnection.close();
......
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