Hello Lalit,

> When I am using clientParams.setSoTimeout(1); I am getting java.net.
> SocketTimeoutException: Read timed out error.
> 
> I think it is not same as ConnectTimeoutException.

No it is not. SO_TIMEOUT is for read, CONNECTION_TIMEOUT for connect.
http://jakarta.apache.org/commons/httpclient/apidocs/org/apache/commons/httpclient/params/HttpConnectionParams.html#CONNECTION_TIMEOUT
http://jakarta.apache.org/commons/httpclient/apidocs/org/apache/commons/httpclient/params/HttpConnectionParams.html#SO_TIMEOUT

hope that helps,
  Roland

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to