Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

InputStream read() doesn't react when reading from GPRS Internet connection

843790Jul 10 2008
Hello,

I'm experiencing weird problems when trying to receive data from the internet. No matter how I start getting to the data, I usually have an InputStream object of which I call the read() method to fill a buffer. The application runs on a PocketPC which is connected to the internet via GPRS, and I try to receive a file from the Internet. The problem that occurs: the program stops responding/reacting. I'm suspecting the read() method to not terminate at all, it guess it just hangs while trying read (which is due to the crappy GPRS connection, of course).

Do you have any hints or ideas to solve that problem?

Kind regards
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 7 2008
Added on Jul 10 2008
0 comments
97 views