I'm trying to set the timeout for socket activities in Android:

System.setProperty("sun.net.client.defaultReadTimeout", "1000");
System.setProperty("sun.net.client.defaultConnectTimeout", "1000");

Does anyone know if this works?

I tried to test it by setting the values real low and seeing if the timeout 
happened real quick.  It looked like it didn't work, but I might have set 
them too low.

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
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 android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to