
<a name="setSoTimeout(org.apache.http.client.HttpClient, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setSoTimeout</h4>
<pre>public static&nbsp;void&nbsp;setSoTimeout(org.apache.http.client.HttpClient&nbsp;httpClient,
                int&nbsp;timeout)</pre>
<div class="block">Defines the socket timeout (SO_TIMEOUT) in milliseconds. A timeout value of
 zero is interpreted as an infinite timeout.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>timeout</code> - 