On certain networks, getHostName() is very slow (10 or 20 seconds).
I am calling "JmDNS.create(addr, hostname)". Note the passing of an alread-known hostname. However, there is some code in HostInfo.java which calls getHostName() even if hostname was passed in (see patch). This patch alleviated this in my application. I post it here for possible inclusion in JmDNS. If my thinking is not correct, or I am missing some critical usage which forces the lookup, please advise. I'm always trying to learn.