Package org.arch.dns

Examples of org.arch.dns.ResolveOptions


 
  public static String getRealHost(String host, int port)
  {
    if (enable > 0)
    {
      ResolveOptions option = new ResolveOptions();
      option.cacheTtl = ResolveOptions.DNS_CACHE_TTL_SELF;
      try
      {
        String[] hosts = Resolver.resolveIPv4(trustedDNS, host, option);
        for (String h : hosts)
View Full Code Here

TOP

Related Classes of org.arch.dns.ResolveOptions

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.