-
1. Re: Communicate between two desktops
Paul Robertson Oct 1, 2012 11:01 AM (in response to BrianatArena)I've worked on several projects where we did this. We used a "client/server" architecture where one of the AIR apps acts as the "server" (conceptually it's the same as a web server) and the other AIR app is the "client" that connects to the server the way a web browser would talk to a web server.
For your "client" use the Socket class.
For your "server" use the ServerSocket class.
Alternatively, we also used UDP sometimes, so we'd use the DatagramSocket class on both sides (both act as "sender/receiver"). However, my recollection is that we ended up moving away from UDP since it's unreliable (by design) and switched to using TCP sockets (Socket/ServerSocket).
-
2. Re: Communicate between two desktops
BrianatArena Oct 1, 2012 11:22 AM (in response to Paul Robertson)Thanks for the suggestion, I will look into the Socket/ServerSocket classes and see if I can come up with some solutions.


