// File: ex7_server.java (Module 13) // // Author: Rahul Simha // Created: Nov 28, 1998 // // Template for Ex. 13.7: a server that reads a byte. import java.io.*; import java.net.*; public class ex7_server { public static void main (String[] argv) { try { // INSERT YOUR CODE HERE. // Make a server-socket, wait for a connection. // When a connection is received, extract the inputStream // and read a byte from it. Print that byte. } catch (IOException e) { System.out.println (e); } } }