title: InetSocketAddress constructor performs reverse dns
body: <p>I've just found out, because of a stack trace reported by a 'hang' in our fing android application:</p>
  
  <p>constructor <code>InetSocketAddress(InetAddress address, int port)</code> creates a socket address with an address and the port, but it seems that it also tries to do reverse dns lookup for that provided address, in order to get the hostname.</p>
  
  <p>This is not desired at all, since not only it's not used by our code, but moreover it slows down the application, as our app creates a relevant number of <code>InetSocketAddress</code> but always with a yet resolved/translated inet address.</p>
  
  <p>Do you know if there is a way to get rid of this undesired reverse dns lookup?</p>