Campbell Anderson wrote:

Hey dude I have played quite a bit with sockets now. I was packet
sniffing what flash sent out and the diference between writeUTF and
writeUTFBytes is the first two binary values of the writeUTF. Flex
documentation says that its the pointer to the binary stream length. I
dont think this format (the length pointer) is used in the http protcol.

Thanks for the details! I am currently working on writing a client for Flash 8.5 for RemObjects SDK -- it's a pain so I started with
Http stuff first which works well enough to continue ;-)

The reason I think MM added it was a way to stop blocking through the
data when reading it. Note that you have to use something like
"availableBytes" protpery to read the data......as3 doesnt seem to be
able to block through it (read it as it comes in). So my guessing is
that this method might come into play more with the proprietry MM
systems later.

Yours,
Weyert de Boer
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to