使用 WCF P2P 应用程序,我可以在不成为节点的情况下发送到 P2P 网络吗
我有一个使用 WCF P2P 运行的多个节点的服务。所有节点都发送和接收正在传递的数据。
我有一个新节点,我想将数据发送到 P2P 服务网络,但它实际上不需要接收任何数据。有谁知道我是否仍然需要将其作为发送者和接收者?基本上,它是否可以在不实际成为网络节点的情况下发送到 P2P 网络,或者如果我不实现合同的服务端,它会导致问题吗?
谢谢!
I have a service with multiple nodes running using WCF P2P. All of the nodes both send and receive the data that is being passed around.
I have a new node that I would like to have send data into the P2P network of services but it doesn't actually need to receive any data. Does anyone know if I still have to include it as both a sender and receiver? Basically, can it send into the P2P network without actually being a node of the network, or is it going to cause issues if I don't implement the Service side of the contract?
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
就网格而言,它仍然充当完整节点(通过将消息中继到其他对等点),但如果您不实现合约的服务端,它不会导致问题。
It will still act as a full node as far as the mesh is concerned (by relaying messages along to other peers) but it will not cause a problem if you don't implement the service side of the contract.