NTPUDPClient client = new NTPUDPClient();
// We want to timeout if a response takes longer than 10 seconds
client.setDefaultTimeout(10000);
try {
client.open();
for (int i = 0; i < args.length; i++)
{
System.out.println();
try {
InetAddress hostAddr = InetAddress.getByName(args[i]);