         /* Maximum connections. */
         private const MAXIMUM_RCP_PAIRS:uint = 1;
 
+        /* Milliseconds. */
+        private const FACILITATOR_POLL_INTERVAL:int = 10000;
+
         /* TextField for debug output. */
         private var output_text:TextField;
 


            /* FIXME: Do I need to unregister the event listeners so
             * that the system can garbage collect the rcp object? */
        }

        private function register_id(id:String, fac_addr:Object):void

        send_stream.publish(DATA); 
    }

    public function connect(clientID:String):void
    {
        puts("RTMFPSocket: connecting to peer...");

        send_stream = new NetStream(circon, NetStream.DIRECT_CONNECTIONS);
        var client:Object = new Object();
        client.onPeerConnect = function (peer:NetStream):Boolean {
            puts("RTMFPSocket: connected to peer");
            connected = true;
            dispatchEvent(new Event(Event.CONNECT));
            return true;
        };
        send_stream.client = client;
        send_stream.publish(DATA); 

        recv_stream = new NetStream(circon, clientID);
        var client:RTMFPSocketClient = new RTMFPSocketClient();
        client.addEventListener(ProgressEvent.SOCKET_DATA, function (event:ProgressEvent):void {
            dispatchEvent(event);
        }, false, 0, true);
        recv_stream.client = client;
        recv_stream.play(DATA);
    }

    private function send_stream_peer_connect(peer:NetStream):Boolean
    {
        puts("RTMFPSocket: peer connecting...");
