Copy link to clipboard
Copied
I have used the example on this page to create an AIR app that can send and receive UDP data.
Adobe Flash Platform * Sockets
If I install the AIR application on another Mac (2) , set the IP addresses for targetIP and localIP and run it, I can then send messages from that Mac (2) to the same AIR app running inside Flash CS6 on my Mac (1). Mac1 has the local/target IPs reversed). I can read them in the output window.
If I send a message back from Mac1 to the app running on Mac2 , Mac2's application does not display the message.
If I install the AIR application on Mac1 and then send a message from Mac2 to it, Mac's application does not get the message.
It appears that receiving UPD works in the Flash IDE, but not in an installed AIR desktop application. Is this to do with sandboxing? The documentation and example clearly says it will work, and does not mention application domain sandboxes as an issue.
Any ideas, please?
This works. Just some silly error on my part logging and printing the UDP.
No sandbox policy file is needed for this to work.
Copy link to clipboard
Copied
This works. Just some silly error on my part logging and printing the UDP.
No sandbox policy file is needed for this to work.