Re: [Flashcoders] AS3 Socket is broken and I need help from Adobe or any Socket Expert

2009-09-17 Thread Glen Pike
Steven Sacks wrote: Wow am I stupid or what? socket.readBytes(bufferIn, 0, socket.bytesAvailable); should be socket.readBytes(bufferIn, bufferIn.length); This code has been working for months up until now because I never got any large enough packets for them to be broken up to expose this s

Re: [Flashcoders] AS3 Socket is broken and I need help from Adobe or any Socket Expert

2009-09-17 Thread Cedric Muller
? Sockets (not in AIR) are fine by me. I am surely missing the obvious here, but sending a 100k data to my socket in Flash works like a charm. Regarding your trace output, it seems the socket fails at the second packet, like it is loosing it is progress what if you do trace(event.target.r

Re: [Flashcoders] AS3 Socket is broken and I need help from Adobe or any Socket Expert

2009-09-17 Thread Steven Sacks
Wow am I stupid or what? socket.readBytes(bufferIn, 0, socket.bytesAvailable); should be socket.readBytes(bufferIn, bufferIn.length); This code has been working for months up until now because I never got any large enough packets for them to be broken up to expose this stupid bug of mine. __

Re: [Flashcoders] AS3 Socket is broken and I need help from Adobe or any Socket Expert

2009-09-17 Thread Glen Pike
I feel your pain, wish I could help, have similar issues with the socket being unreliable... Maybe we need another "Adobe Make Some..." site/campaign. "Adobe Make Some {OptionalExpletive[0]} Fixes to the {OptionalExpletive[1]} socket, {OptionalExpletive[2]}!" or similar. I will put a badge

[Flashcoders] AS3 Socket is broken and I need help from Adobe or any Socket Expert

2009-09-17 Thread Steven Sacks
I'm having major issues with the Socket class in AIR right now. All the searches I have made result in people who have asked "Why is this happening?" and NOBODY has answered any of their questions. Socket progress events stop firing if "too much" data is coming across the socket, and apparently