     }
 }
 
+[Event(name="peerConnectAcknowledged", type="flash.events.Event")]
 dynamic class RTMFPSocketClient extends EventDispatcher
 {
     public static const PEER_CONNECT_ACKNOWLEDGED:String = "peerConnectAcknowledged";

        };

        /* Nate's facilitator -- also serving a crossdomain policy */
        private const DEFAULT_FACILITATOR_ADDR:Object = {
            host: "128.12.179.80",
            port: 9002
        };

        /* David's facilitator. */
        //private const DEFAULT_FACILITATOR_ADDR:Object = {
        //    host: "tor-facilitator.bamsoftware.com",
        //    port: 9006
        //};
       
        /* Cirrus server information. */
        private const DEFAULT_CIRRUS_ADDRESS:String = "rtmfp://p2p.rtmfp.net";

            puts("RTMFPSocket: connected to peer");
            connected = true;
            dispatchEvent(new Event(Event.CONNECT));
            peer.send("setPeerConnectAcknowledged");
            return true;
        };
        send_stream.client = client;
