Description: 用UDP实现了p2p是的穿透,P2PServer运行在一个拥有公网IP的计算机上,P2PClient运行在两个不同的NAT后(注意,如果两个客户端运行在一个NAT后,本程序很可能不能运行正常,这取决于你的NAT是否支持loopback translation,详见http://midcom-p2p.sourceforge.net/draft-ford-midcom-p2p-01.txt,当然,此问题可以通过双方先尝试连接对方的内网IP来解决,但是这个代码只是为了验证原理,并没有处理这些问题),后登录的计算机可以获得先登录计算机的用户名,后登录的计算机通过send username message的格式来发送消息。如果发送成功,说明你已取得了直接与对方连接的成功。-achieved using UDP p2p is the piercing, P2PServer operation in a public IP with the computer, P2PClient running in two different NAT after (Note If two clients running on a NAT, the procedure may not be operating normally, It depends on whether you support the loopback NAT translation, see http :// midcom-p2p.sourceforge.net/draft-ford- midcom- p2p- 01.txt, of course, this problem can be made by the two sides try to connect with each other to resolve the IP network, but the code is to verify principle, not dealing with these issues), after the computer can log logged in a computer user name, after logged by the computer username send the message format to send information. If the success of this show that you have made a direct link with each other's success. Platform: |
Size: 31744 |
Author:刘冰 |
Hits:
Description: 可以直接用来开发自己的P2P程序,是一个不可多得的源码-can directly be used for the development of their P2P process is a rare source Platform: |
Size: 1314816 |
Author:lxwjq |
Hits:
Description: 来源于网上的C++技术开发的P2P客户端通讯代码,为国外开源代码, 可用来学习掌握C++的P2P通讯算法。来源于网上公开资料,供学习使用。-From online C++ Technology development of P2P client code, for foreign open-source code, can be used to study and master the C++ The P2P communication algorithm. Disclosure of information from the Internet for learning to use. Platform: |
Size: 78848 |
Author:飞行猫 |
Hits:
Description: p2p技术方面的优秀论文和文章,关键技术介绍非常详细,对广大学习者和专业人员有所启发。-p2p technology for excellent essays and articles, key technologies very detailed introduction to the vast numbers of learners and inspire professionals. Platform: |
Size: 3656704 |
Author:ljy |
Hits:
Description: 简单的P2P节点间的相互通信功能,能够通过用户的名字进行数据的发送。-P2P simple inter-node communications functions, can be conducted through the user s name to send data. Platform: |
Size: 3361792 |
Author:sinbad |
Hits:
Description: TCP实现P2P通信,包括TCP NAT 打洞 详细信息请看源代码,是个不错的通信程序-TCP to achieve P2P communications, including TCP NAT holes detailed information see the source code is a good communication program Platform: |
Size: 51200 |
Author:sunyuyou |
Hits:
Description: 此程序使用c语言编码实现了P2P技术,可以用在网络文件的上载和下载,非常好用-This procedure using c language coding realize the P2P technology, can be used in a network file upload and download, very easy to use Platform: |
Size: 589824 |
Author:靳智超 |
Hits:
Description: P2P方式的视频会议软件的设计与实现的源代码-P2P the way video conferencing software, Design and Implementation of the source code Platform: |
Size: 4649984 |
Author:高增浩 |
Hits:
Description: 稳定给出了p2p的原理,以及如何构建p2p的解决方案,这份资料很好,找了很久。-Stable given the principle of p2p, and how to build a p2p solution, this information well, to find for a long time. Platform: |
Size: 699392 |
Author:俞加杰 |
Hits: