int i = localScheme.resolvePort(paramHttpHost.getPort());
for (int j = 0; j < arrayOfInetAddress.length; j++)
{
InetAddress localInetAddress = arrayOfInetAddress[j];
int k = j == arrayOfInetAddress.length - 1 ? 1 : 0;
Object localObject = localSchemeSocketFactory.createSocket(paramHttpParams);
paramOperatedClientConnection.opening((Socket)localObject, paramHttpHost);
HttpInetSocketAddress localHttpInetSocketAddress = new HttpInetSocketAddress(paramHttpHost, localInetAddress, i);
InetSocketAddress localInetSocketAddress = null;
if (paramInetAddress != null)
localInetSocketAddress = new InetSocketAddress(paramInetAddress, 0);