3 Replies Latest reply: Feb 25, 2012 9:23 AM by Michael Thornburgh RSS

    p2p over WLan by Android/iPhone access point

    gnelch4423 Community Member

      Sorry for my english, I’m from Russia – I have a problem – I have a mobile phone (Android or iPhone), which is the access point, and he gives Wi-fi. To it is attached computer, but I can not get the result you want – I can not establish a connection between them, through Wi-Fi router everything is working fine, thank you

        • 1. Re: p2p over WLan by Android/iPhone access point
          Michael Thornburgh Adobe Employee

          most likely your phone's access point doesn't do NAT hair-pin, where a device inside the NAT (your computer) sending a packet to your phone's public IP address isn't routed inside the phone correctly.

           

          if you are doing groups communication (multicast NetStream or NetGroup), you can use IP multicast peer discovery (GroupSpecifier.ipMulticastMemberUpdatesEnabled=true and add an IP multicast address) to work around this issue. otherwise, 1:1 direct connections may not be possible in your configuration.

          • 2. Re: p2p over WLan by Android/iPhone access point
            gnelch4423 Community Member

            I use

            var groupSpec:GroupSpecifier = new GroupSpecifier(any name);

                                          groupSpec.postingEnabled = true;

                                          groupSpec.routingEnabled = true;

                                          groupSpec.ipMulticastMemberUpdatesEnabled = true;

                                          groupSpec.addIPMulticastAddress("225.225.0.1:30303");

             

                                          var groupSpecString:String = groupSpec.groupspecWithAuthorizations();

             

            And this do not work!

            Generally p2p works over tethering?


            • 3. Re: p2p over WLan by Android/iPhone access point
              Michael Thornburgh Adobe Employee

              you must also enable the server channel (groupSpec.serverChannelEnabled = true) so the server will try to join the group members together. otherwise the server doesn't know about your group.