Dear, good day.


I have an application that makes several connections (5 for 5 seconds) to 
an Apache server with PHP. I'm using the POST method and HTTPClient in an 
AsyncTask.


The problem is that I'm getting more 
ConnectionTimeoutException/SocketTimeoutException. 
My timeout is configured as follows:


*HttpConnectionParams.setConnectionTimeout (httpParameters, 30000);*

*HttpConnectionParams.setSoTimeout (httpParameters, 30000);*


I did a test using apache jmetter sending multiple requests to this server 
and had no problems.


This can be a limitation of the network? SO?


Has anyone experienced this problem or know of a better strategy for making 
these requests?


Thank you.

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to