2 Replies Latest reply on Aug 29, 2012 12:14 PM by turbidity

    Will the last user to join a NetGroup have the highest peerID?

    turbidity

      I've been thinking about how to tell if someone is the first user in a NetGroup. Specifically, I was wondering if I could use the Send Mode of NEXT_DECREASING to see if anyone had joined before a user. Michael Thornburgh said "the peerID persists for the duration of the connected NetConnection.  as soon as it disconnects, the peerID is destroyed and is never re-used." That makes me hope that if a user leaves a mesh and another joins, they wouldn't get the same peerID. However, he also says that peerIDs have a "pseudorandom" element in their generation, which makes me despair that it would follow an ever increasing pattern. So to the heart of it: Will the last user to join a NetGroup have the highest peerID?