I'm trying to write a client application in flash, and as far as I know, flash doesn't offer any support for UDP sockets. Is it possible to receive data from a UDP server to a flash (TCP) socket? If it is possible, how?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
Nope 2 different protocols. You could build a bridge though.
How to connect to tcp server via node.js/socket.io from client?
回答2:
Adobe give you a peer to peer service called "stratus"
http://www.flashrealtime.com/tuts/p2p-in-flash.html