public void send()
  {
    try
    {
      Socket client = new Socket(SHOST, SPORT);

      ObjectOutputStream os =
              new ObjectOutputStream(client.getOutputStream());
      
      Message m = new Message(this, "Client", "hello");

      os.writeObject(m);
      os.flush();

      ObjectInputStream is =
          new ObjectInputStream(client.getInputStream());

      Object o = is.readObject();

      if (o instanceof Message)
      {
        m = (Message) o;

        System.out.println(
            "Client received: " + m.geContent() + " from " + m.geName());
      }

      client.close();
    }
    catch (IOException | ClassNotFoundException e)
    {
      e.printStackTrace();
    }
  }