2 Replies Latest reply: Feb 8, 2013 1:51 AM by Yue_Hong RSS

    Flex ServerSocket

    Yue_Hong

      Hi,

       

      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.