I am trying to do network communication between 2 Flex application through local network and I am following an example from http://robertbak.com/wordpress/2011/10/example-basic-socket-server-in- air/. When I am connecting locally, it works. Meaning, when the server is listen and connect to 127.0.0.1, it works. But when I tried to get it connect to between 2 computers running windows 7 (192.168.1.34 and 192.168.1.23), it doesn't work. If I run it in debug mode, flex shows the error message: "Error #2002: Operation attempted on invalid socket". I have also tried to turn off firewall, but it is still the same.
How can I fix it? Thanks.
It is AIR apps. Anyway, after I set the server to listen to IP 0.0.0.0, it works now.
Btw, Is it possible for Flash / AIR to do socket asynchronism / parallel flush socket? Because I want the server to send command to 5 - 6 PCs at the sametime to start a video playback and have the video sync on every PCs. Therefore, sending out command at the same time is really important. Thanks.