import java.net.*;
import java.io.*;
import java.util.*;

public class ObjClient {
   public static void main(String[] args) throws Exception {
     Socket sock=new Socket(args[0],1234);
     ObjectInputStream ois=new ObjectInputStream(
        sock.getInputStream());
     Hashtable hash=(Hashtable)ois.readObject();
     System.out.println(hash);
     ois.close();
     sock.close();
     }
  }

