4 Replies Latest reply on Jul 20, 2012 12:19 PM by Rhuno

    Automatically connect to peer?

    Rhuno

      I'm working on a video p2p application and I'd like the program to automatically connect upon launch and receive video from the other connected computer.  It is simple enough to connect to the cirrus service, but I don't know how to make two systems connect to each other.  The problem is I don't know how to get the peer id of the far computer automatically when one connects.

       

      Here's an example:

       

      -one computer is already running the program and waiting for another computer to connect.

      -the program is launched on another computer and connects to cirrus

      -how does the first computer get the peer id of the second automatically and begin receiving data?