private void send (Object x)
    {
	try
	{
	    Soutput.writeObject (x);
	    Soutput.flush ();
	}
	catch (IOException e)
	{           
	    System.out.println ("Error writting to the socket: " + e);
	    return;
	}	
    }