I receive only the first byte of my udp packet...
On Nov 12, 8:18 pm, Dan Sherman 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
>
> On Thu, Nov 1
each time i call receive(), i receive the first byte of the received
packet
On Nov 12, 10:14 pm, Dan Sherman wrote:
> Subsequent calls just block until the timeout?
>
> - Dan
>
> On Thu, Nov 12, 2009 at 3:52 PM, Pierre wrote:
> > I receive only the first byte of my udp packet...
>
> > On Nov 12,
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 wrote:
> each time i call receive(), i receive the first byte of the received
> packet
>
> On Nov 12, 10:14 pm, Dan Sherman wrote:
>
> > Subsequent calls just block unti
No problem on the Android 2.0 emulator...
I'm testing on 1.5 emulator...
On 14 nov, 01:43, Pierre 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 wrote:
>
> > each time i call receive(), i receive th
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 wrote:
> No problem on the Android 2.0 emulator...
> I'm testing on 1.5
I can reproduce this bug in the Android 1.5 emulator !
On 14 nov, 15:26, Pierre 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 on MY phone
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 wrote:
> I can r
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 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[500];
> DatagramP
byte[] array = new byte[500]; ?
On Nov 16, 7:37 am, Chopcsu 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 wrote:
>
> > I use Android 1.5 on HTC Hero
>
> > My code (udp server on my phone) :
>
> >
Subsequent calls just block until the timeout?
- Dan
On Thu, Nov 12, 2009 at 3:52 PM, Pierre wrote:
> I receive only the first byte of my udp packet...
>
> On Nov 12, 8:18 pm, Dan Sherman wrote:
> > We've had issues with UDP packets coming in off the socket
> non-reassembled.
> >
> > See what
10 matches
Mail list logo