In my MIDlet I initiate an HTTP GET connection (from a Nokia 6600 at the moment) which receives an HTTP 200 OK response (text/plain content-type) with the single character 0x32, 0x33, or 0x34.
In the emulator I get the single character read in just fine, but on the actual handset I never seem to receive the character, though it doesn't appear to be throwing an exception either. Does the server need to include the content-length perhaps as a clue to the kVM? We've tried a socket linger option on the server side but that didn't fix it either.
I've got loads of other HTTP GET and POST connections working within the same MIDlet so I imagine it's a quirk of the fact it's such a tiny response packet, but I can't think of any way to move it forward right now. Any ideas greatefully received!