How to implement P2P in C#?

时间秒杀一切 提交于 2019-12-18 13:37:57

问题


Recently, I would like to develop a simple chat program using c# and Winform,Main feature is chat and file transfer ,But i can't found example about implement p2p using dotnet,Who can help me?


回答1:


Check out WCF




回答2:


Do you want to implement p2p functionality or a specific p2p protocol?

For generic p2p functionality, or any kind of communication functionality, you should probably use WCF.

For specific p2p protocols, like direct connect, BitTorrent and the like you need to decide first which protocol you want to use, and most likely there will be an already existing .Net library for it.



来源:https://stackoverflow.com/questions/1146637/how-to-implement-p2p-in-c

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!