Searched refs:hostAddresses (Results 1 – 1 of 1) sorted by relevance
205 InetAddress[] hostAddresses = getAllByName(host); in connectToHost() local207 for (int i = 0; i < hostAddresses.length; i++) { in connectToHost()213 socket.connect(new InetSocketAddress(hostAddresses[i], port)); in connectToHost()220 if (i == (hostAddresses.length - 1)) throw e; in connectToHost()