it:
<br>
<pre>
	// run the regserver process and open a connection to it
	RegClient regClient = new RegClient("localhost", "2555", "audio.OutputVolume=200", "path/to/regserver.exe -v -f /path/to/logfile.txt", 2000);

	// start a recognition action, and wait for it's completion
	RegResult result = regClient.recognize(".MAIN");

	// print the result
	if( result.isActionSuccesfull() ){
		System.out.println("Recognition result: '" + result.getRecognition() + "'");
	}

	// shutdown connection to regserver, and e