I'm developing an interactive system where two client flash apps will talk to a third server app. The clients will be sending some status information to the server. I think I need two way communication...haven't decided whether the server needs to send back any acknowledgements yet.
These will be applications and not .swfs that run in a browser.
So far the only method that I see are to make the server an AIR app (b/c AIR has a Server Socket class) and make the clients Flash projectors (b/c Flash has a Sockets class).
Are there other methods that I can use connect my apps together? These 3 machines will basically be living a few feet from each other and they will be on their own dedicated network.
MORE INFO
The machines will live within their own little private network. They won't be accessing the outside world.
I have had great success using AIR apps for this, again on a dedicated network.
I created a server application using the ServerSocket
class, accepting connections on two different ports. Connecting to these different ports were 7 kiosk applications, and 20 display applications - When a user selected something on a kiosk it was relayed to the display applications via the server app which dealt with any conflicting user interactions.
Both the kiosk and display apps handled their own connections, with a timer continually checking socket.connected
.