@@ -0,0 +1,742 @@
+import java.io.*;%0Aimport java.net.*;%0A%0Aclass TCPServer %7B%0A public static void main(String argv%5B%5D) throws Exception %7B%0A  String clientSentence;%0A  String capitalizedSentence;%0A  ServerSocket welcomeSocket = new ServerSocket(Integer.valueOf(argv%5B0%5D));%0A%0A  while (true) %7B%0A   Socket connectionSocket = welcomeSocket.accept();%0A   BufferedReader inFromClient =%0A    new BufferedReader(new InputStreamReader(connectionSocket.getInputStream()));%0A   DataOutputStream outToClient = new DataOutputStream(connectionSocket.getOutputStream());%0A   clientSentence = inFromClient.readLine();%0A   System.out.println(%22Received: %22 + clientSentence);%0A   capitalizedSentence = clientSentence.toUpperCase() + '%5Cn';%0A   outToClient.writeBytes(capitalizedSentence);%0A  %7D%0A %7D%0A%7D%0A%0A

Add TCPServert