code: public static UniAddress getByName( String hostname,
                                          boolean possibleNTDomainOrWorkgroup )
                                          throws UnknownHostException {
          UniAddress[] addrs = UniAddress.getAllByName(hostname, possibleNTDomainOrWorkgroup);
          return addrs[0];
      }
docs: Lookup <tt>hostname</tt> and return it's <tt>UniAddress</tt>. If the
  <tt>possibleNTDomainOrWorkgroup</tt> parameter is <tt>true</tt> an
  addtional name query will be performed to locate a master browser.