My app use UDP, and communicate with my PC.
It can send and receive UDP packets.
Here my code (udp reception) :
My problem : received packets are ALWAYS truncated !
The displayed length is ALWAYS "1" !
When i "spy" packets from my computer (with Wireshark) , they're "normal" (not truncated).
2nd problem : the platform
This bug happens on :
- My HTC Hero (Android 1.5)
- Android emulator 1.5-1.6
I've no problem on Android emulator 2.0 !
Same problem ?
Please help me, this bug makes me crazy !