public synchronized void exitServer ()
    {
	for (int i = 0 ; i < flexclients.size () ; i++)
	{
	    try
	    {
		TcpThread currclient = (TcpThread) flexclients.get (i);
		currclient.Soutput.close ();
		currclient.Sinput.close ();
		currclient.socket.close ();
	    }
	    catch (Exception e)
	    {
	    }
	}
	flexclients.removeAll (flexclients);
	System.exit (0);
    }