@@ -0,0 +1,1282 @@
+import java.net.*;%0Aimport java.io.*;%0Aimport java.util.logging.Level;%0Aimport java.util.logging.Logger;%0A%0Apublic class Server  implements Runnable %7B%0A    %0A    private static Socket cSocket;%0A    private static ServerSocket serverSocket;%0A    private static BufferedReader in;%0A%0A   %0A    public Server(Socket clientSocket) %7B%0A        Server.cSocket = clientSocket;%0A    %7D%0A%0A    public static void main(String args%5B%5D) throws IOException %7B%0A        serverSocket = new ServerSocket(1412);%0A        System.out.println(%22Listening%22);%0A    %0A        while (true) %7B%0A            Socket sock = serverSocket.accept();%0A            System.out.println(%22Connected%22);%0A           %0A            new Thread(new Server(sock)).start();%0A        %7D%0A    %7D%0A%0A    public void run() %7B%0A        try %7B%0A            in = new BufferedReader(new InputStreamReader(%0A                    cSocket.getInputStream()));%0A        %7D catch (IOException ex) %7B%0A            Logger.getLogger(Server.class.getName()).log(Level.SEVERE, null, ex);%0A        %7D%0A%0A        String inputLine;%0A        try %7B%0A            while ((inputLine = in.readLine()) != null) %7B%0A                System.out.println(inputLine);%0A            %7D%0A        %7D catch (IOException ex) %7B%0A            Logger.getLogger(Server.class.getName()).log(Level.SEVERE, null, ex);%0A        %7D%0A    %7D%0A%7D%0A

Create Server.java