@@ -0,0 +1,313 @@
+import java.io.*;%0Aimport java.net.*;%0A%0Apublic class Client%7B%0A  private static final int PORTNUM = 3333;%0A%0A  public static void main(String%5B%5D arguments)%7B%0A    Socket socket = null;%0A    try%7B%0A      socket = new Socket(%22127.0.0.1%22,PORTNUM);%0A      socket.close();%0A    %7D catch (IOException e) %7Be.printStackTrace();%7D;%0A  %7D%0A%7D%0A

Test class for Client socket