Hi all. I use the following code snippet to connect to a server and
retrieve some data:

HttpsURLConnection con = (HttpsURLConnection)myurl.openConnection();
InputStream ins = con.getInputStream();

The code mostly works fine. If I leave the app for a few minutes, and
return to it and make another request, I receive an IOException:
Broken Pipe.

Once it has failed one time, it immediately works again, and will
continue to do so until I leave it for a while once more.

I don't know if this is an Android specific thing, or general Java,
but it doesn't happen on my desktop test version.

Any thoughts?

-- 
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

Reply via email to