UDP Server, TCP Client?

2019-09-09 21:25发布

问题:

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