var conn:NetConnection = new NetConnection("rtmfp://stratus.adobe.com/" + developerKey);
conn.nearID, my p2p id
new NetStream(netConnection, NetStream.DIRECT_CONNECTIONS);
NetStream.DIRECT_CONNECTIONS, wait for other peer
peer id, connect to other peer which has publish as NetStream.DIRECT_CONNECTIONS
Defined at NetStream
public function onPeerConnect(subscriber:NetStream):Boolean
Use to get notify when another client connects
public function send(handlerName:String, ... arguments):void
Sends a message on a published stream to all subscribing clients. refer to the client property