-
Receiving Socket Messages
Hello,
I am currently working on a project that involves using sockets. I am using Flash CS5 and AIR2.0. I am also using another program that will be acting as the socket server (Esperient Creator).
I have successfully SENT socket commands from my AIR app to the server.
What I need to do is RECEIVE socket commands within my AIR app from the server program.
I read somewhere that this was a new feature for AIR 2.0. If anyone has any insight on how to get this to work, please let me know.
Thanks,
Jake
-
The Socket class (and XMLSocket class) in AS3 has a data event -- this event fires when data arrives on a socket. You'll need to add an event listener to your socket object which can handle the data when it arrives.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|