1 Reply Latest reply on Feb 9, 2012 8:49 AM by Michael Thornburgh

    NetStatusEvent.info.fromLocal is always false

    anvira1

      Hello,  I have a problem with the subject. NetStatusEvent.info.fromLocal is always false when I use sendToNearest But the message is intended precisely to destination recipient.  In addition estimatedMemberCount sometimes two times neighborCount  What is goes wrong?

        • 1. Re: NetStatusEvent.info.fromLocal is always false
          Michael Thornburgh Adobe Employee

          fromLocal is only true if, when you do sendToNearest(), the local node is the nearest (that is, the sender was the local node).  this is how you implement recursive routing, since there's no other way to examine the internal routing table.

           

          estimatedMemberCount is an estimate of the total size of the group. it is computed based on neighbor density. you may not be directly connected to (that is, neighbors with) every member of the group.  in general, you should have O(log N) direct neighbor connections in a group of size N.  the actual number will be approximately to 2*log N + 13.  groups will be fully meshed below about 14 members, and are likely to be fully meshed up to about 18 or so members.

           

          i go into more detail about this in my session from MAX 2011:

           

             http://tv.adobe.com/watch/max-2011-develop/advanced-p2p-with-rtmfp-tips-and-tricks/