@Override
	public void run()
	{
		while( true )
		{
			System.out.println("waiting for server connection");
			try
			{
				serverConnection = serverState.accept();
			}
			catch( Exception ex )
			{
				ex.printStackTrace();
			}
			try
			{
				in = new BufferedReader( new InputStreamReader( serverConnection.
						getInputStream() ) );
				System.out.println("got server input");
				System.out.println( in.readLine() );
			}
			catch( Exception ex )
			{
				ex.printStackTrace();
			}
			try
			{
				serverState.close();
			}
			catch( Exception ex )
			{
				ex.printStackTrace();
			}
		}
	}