WCF对等连接建立 [英] WCF Peer-to-Peer connexion establishment
本文介绍了WCF对等连接建立的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在WCF中开发一个 Peer-to-Peer 应用程序,我想知道的是如何检查Peer是否已连接到云或仍在建立连接.我的问题是,有时Peer可能独自在云中, 这就是为什么我不能继续向其他对等方发送消息并等待回答以确保对等方已连接的原因.
I am developping a Peer-to-Peer application in WCF and what i would like to know is how can I check if the Peer is connected to the cloud or still establishing the connexion. My problem is that sometimes the Peer can be alone in the cloud, this is why I can't keep sending a message to another Peer and wait for an answer to make sure that the Peer is connected or not.
有什么想法的人吗?
推荐答案
Have you seen this http://msdn.microsoft.com/en-us/library/ms729807.aspx on MSDN:
添加在线和离线状态
这篇关于WCF对等连接建立的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文