n>(<a href="../../../../../../reference/java/net/Socket.html">Socket</a> sock, <a href="../../../../../../reference/java/lang/String.html">String</a> host, int port, <a href="../../../../../../reference/java/net/InetAddress.html">InetAddress</a> localAddress, int localPort, <a href="../../../../../../reference/org/apache/http/params/HttpParams.html">HttpParams</a> params)</nobr>
        
        <div class="jd-descrdiv">Connects a socket to the given host.</div>
  
  </td></tr>


	 
    <tr class=" api apil