public static boolean testSntp(){
  final SntpClient client=new SntpClient();
  if (client.requestTime("0.pool.ntp.org",10000)) {
    return true;
  }
  return false;
}

public static boolean testSntp ( ) { final SntpClient client = new SntpClient ( ) ; if ( client . requestTime ( "0.pool.ntp.org" , 10000 ) ) { return true ; } return false ; }
tests to connect via sntp .
