code: public static Object readObject(final InetAddress inetAddress, final int port)
  		throws IOException, ClassNotFoundException
  	{
  		return readObject(new Socket(inetAddress, port));
  	}
docs: Reads an object from the given socket InetAddress.
  
  @param inetAddress
  the InetAddress to read.
  @param port
  The port to read.
  @return the object
  @throws IOException
  Signals that an I/O exception has occurred.
  @throws ClassNotFoundException
  the class not found exception