// sent. So you have to reset() the stream, (or use a new object, or use
// clone() here also if you want, but this is simplest and safest since we have
// no control over what the external pinger gives us.
oos.reset();
} else if ( cmd[0] == 'Q' ) {
custom.stop();
return;
} else {
System.err.println("Invalid command recieved: " + Byte.toString(cmd[0]));
}
} catch (Throwable e) {