Archived

This topic is now archived and is closed to further replies.

Nickels

http and InputStream.read() being blocked.

Recommended Posts

Nickels    122
when i make an httpconnection and begin to read using InputStream (client received from a server)...there is a block on read(). I was wondering what the possible situations could be happening when data is sent from server to client. I know the server sends data, i can verify that. And i know the client is receiving something. It just so happens that certain phones will block, seemingly forever, on the read(), while other phones "fly" thru it. And would placing a wait() anywhere improve my reading from the server in anyway? And is it possible that certain phones are not buffering input? i am desperate now and will try anything!

Share this post


Link to post
Share on other sites