示例#1
0
        public void Start()
        {
            bridgePipe = new UnicastMessagePipe(externalEndPoint);
            bridgePipe.MessageReceived += bridgePipe_MessageReceived;
            bridgePipe.Open();

            chatPipe = new UnicastMessagePipe(internalEndPoint);
            chatPipe.MessageReceived += chatPipe_MessageReceived;
            chatPipe.Open();
        }
示例#2
0
 public void Start()
 {
     pipe = new UnicastMessagePipe(endpoint);
     pipe.MessageReceived += pipe_MessageReceived;
     pipe.Open();
 }