Does byte[] array actually only have 1 byte in it?
Could be that the getLength call is just incorrect.
On Nov 13, 6:16 am, Pierre pierredur...@gmail.com wrote:
I use Android 1.5 on HTC Hero
My code (udp server on my phone) :
this.socket = new DatagramSocket(port);
byte[] array = new
byte[] array = new byte[500]; ?
On Nov 16, 7:37 am, Chopcsu st...@kilsby.com.au wrote:
Does byte[] array actually only have 1 byte in it?
Could be that the getLength call is just incorrect.
On Nov 13, 6:16 am, Pierre pierredur...@gmail.com wrote:
I use Android 1.5 on HTC Hero
My code
No problem on the Android 2.0 emulator...
I'm testing on 1.5 emulator...
On 14 nov, 01:43, Pierre pierredur...@gmail.com wrote:
Do you know if it's a bug ?
Is it possible to receive UDP packet on android ?
Is there any example ?
On 12 nov, 22:27, Pierre pierredur...@gmail.com wrote:
each
Please, tell me i'm wrong :
It looks that received packet are truncated after n bytes.
n is the size of the first received packet.
Seriously, this bug make me mad !
It only happens on MY phone !
On 14 nov, 13:59, Pierre pierredur...@gmail.com wrote:
No problem on the Android 2.0 emulator...
I can reproduce this bug in the Android 1.5 emulator !
On 14 nov, 15:26, Pierre pierredur...@gmail.com wrote:
Please, tell me i'm wrong :
It looks that received packet are truncated after n bytes.
n is the size of the first received packet.
Seriously, this bug make me mad !
It only happens
Ok, to sumarize :
My program receive UDP packets.
On my HTC Hero (Android 1.5) and on emulator 1.5-1.6, i can't receive
UDP packets correctly.
They are truncated after the first byte (i receive only 1 byte
packets).
No problem in the Android 2.0 emulator
On 14 nov, 15:57, Pierre
Do you know if it's a bug ?
Is it possible to receive UDP packet on android ?
Is there any example ?
On 12 nov, 22:27, Pierre pierredur...@gmail.com wrote:
each time i call receive(), i receive the first byte of the received
packet
On Nov 12, 10:14 pm, Dan Sherman impact...@gmail.com wrote:
I receive only the first byte of my udp packet...
On Nov 12, 8:18 pm, Dan Sherman impact...@gmail.com wrote:
We've had issues with UDP packets coming in off the socket non-reassembled.
See what happens with multiple reads, see if you get back the expected
packet length in total...
- Dan
Subsequent calls just block until the timeout?
- Dan
On Thu, Nov 12, 2009 at 3:52 PM, Pierre pierredur...@gmail.com wrote:
I receive only the first byte of my udp packet...
On Nov 12, 8:18 pm, Dan Sherman impact...@gmail.com wrote:
We've had issues with UDP packets coming in off the socket
each time i call receive(), i receive the first byte of the received
packet
On Nov 12, 10:14 pm, Dan Sherman impact...@gmail.com wrote:
Subsequent calls just block until the timeout?
- Dan
On Thu, Nov 12, 2009 at 3:52 PM, Pierre pierredur...@gmail.com wrote:
I receive only the first byte
10 matches
Mail list logo