开发者

When to use Socket and when to use XMLSocket in Flex?

开发者 https://www.devze.com 2023-03-06 22:35 出处:网络
In what situations should i use Socket class or XMLSocket when trying to connect from Flex to a Java Server that is going to listen to开发者_StackOverflow中文版 a port?The answer is rather simple:

In what situations should i use Socket class or XMLSocket when trying to connect from Flex to a Java Server that is going to listen to开发者_StackOverflow中文版 a port?


The answer is rather simple: An XMLSocket will send/receive XML data while a Socket will send/receive binary data

Check out the adobe livedocs for more information

Cheers

0

精彩评论

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