我正在尝试在 LAN 中实现点对点消息传递和文件共享实用程序,那么 WCF 是否支持 p2p?有没有人尝试过通过 WCF 进行文件共享?
最佳答案
是的,确实如此。请看How To Design State Sharing In A Peer Network :
When researching the various ways in which an election scenario might be implemented, I discovered that there is an attribute in WCF that allows you to indicate the maximum number of hops that a particular message will travel. After seeing this, it became obvious that there was a means for sharing state in a peer network that not only required no central server, but was resilient to node drop-off and did not require election. I call it Nearest Peer Synchronization.
关于wcf - WCF 是否支持对等实现?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2202301/