Has anybody else experienced weirdness working with sockets in android? This is going to sound flaky, but I'm coming to believe that android sockets are buggy.
This is what I experience: I'm reading data out of a DataInputStream, constructed with socket.getInputStream(), in a separate thread from the UI. Most of the time this works just fine, but every once in a while, after the thread reads a lot of stuff, the reader thread will next call readByte() on the data input stream, and read a spurious value. I have total control of the data being fed to the socket, and I'm confident it's fine. The reading thread is still running, the socket is fine, nothing has been finalized or frozen or paused. It happens only at random times, and seems to increase in frequency the longer the emulator runs. hmph Colin --~--~---------~--~----~------------~-------~--~----~ 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] Announcing the new M5 SDK! http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

