开发者

Flash loader CRC?

In a Flash/AIR app, if I download something using the URLLoade开发者_如何学Cr and the loader dispatches Event.COMPLETE - is the downloaded data guaranteed to be complete and correct?

If not, what's the best way to ensure this?

Thanks!


URLLoader does a a HTTP request, which is implemented on top of TCP, which has a 16 bit Fletcher-style checksum. Data arriving over TCP won't have errors due to TCP, which will request retransmits when there are checksum errors. There are also very often checksums or other error detection at lower layers in the transmission.

When you get an Event.COMPLETE the data is ready to be used.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜