文件名称:P2P_by_shootingstars
-
所属分类:
- 标签属性:
- 上传时间:2008-10-13
-
文件大小:31.24kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
一个模拟P2P聊天的过程的源代码,过程很简单,P2PServer运行在一个拥有公网IP的计算机上,P2PClient运行在两个不同的NAT后(注意,如果两个客户端运行在一个NAT后,本程序很可能不能运行正常,这取决于你的NAT是否支持loopback translation,详见http://midcom-p2p.sourceforge.net/draft-ford-midcom-p2p-01.txt,当然,此问题可以通过双方先尝试连接对方的内网IP来解决,但是这个代码只是为了验证原理,并没有处理这些问题),后登录的计算机可以获得先登录计算机的用户名,后登录的计算机通过send username message的格式来发送消息。如果发送成功,说明你已取得了直接与对方连接的成功。
(系统自动生成,下载前可以参看下载内容)
下载文件列表
P2P_by_shootingstars/P2P/Exception.h
P2P_by_shootingstars/P2P/P2PClient/P2PClient.dsp
P2P_by_shootingstars/P2P/P2PClient/P2PClient.dsw
P2P_by_shootingstars/P2P/P2PClient/P2PClient.opt
P2P_by_shootingstars/P2P/P2PClient/P2PClient.plg
P2P_by_shootingstars/P2P/P2PClient/P2PClient.sln
P2P_by_shootingstars/P2P/P2PClient/P2PClient.suo
P2P_by_shootingstars/P2P/P2PClient/P2PClient.vcproj
P2P_by_shootingstars/P2P/P2PClient/P2PClient.ncb
P2P_by_shootingstars/P2P/P2PClient/P2PClient.cpp
P2P_by_shootingstars/P2P/P2PServer/P2PServer.cpp
P2P_by_shootingstars/P2P/P2PServer/P2PServer.dsw
P2P_by_shootingstars/P2P/P2PServer/P2PServer.opt
P2P_by_shootingstars/P2P/P2PServer/P2PServer.plg
P2P_by_shootingstars/P2P/P2PServer/P2PServer.sln
P2P_by_shootingstars/P2P/P2PServer/P2PServer.suo
P2P_by_shootingstars/P2P/P2PServer/P2PServer.vcproj
P2P_by_shootingstars/P2P/P2PServer/P2PServer.ncb
P2P_by_shootingstars/P2P/P2PServer/P2PServer.dsp
P2P_by_shootingstars/P2P/readme.txt
P2P_by_shootingstars/P2P/UDP穿越NAT.TXT
P2P_by_shootingstars/P2P/proto.h
P2P_by_shootingstars/P2P/proto.h.bak
P2P_by_shootingstars/P2P/P2PClient
P2P_by_shootingstars/P2P/P2PServer
P2P_by_shootingstars/P2P
P2P_by_shootingstars
www.dssz.com.txt
P2P_by_shootingstars/P2P/P2PClient/P2PClient.dsp
P2P_by_shootingstars/P2P/P2PClient/P2PClient.dsw
P2P_by_shootingstars/P2P/P2PClient/P2PClient.opt
P2P_by_shootingstars/P2P/P2PClient/P2PClient.plg
P2P_by_shootingstars/P2P/P2PClient/P2PClient.sln
P2P_by_shootingstars/P2P/P2PClient/P2PClient.suo
P2P_by_shootingstars/P2P/P2PClient/P2PClient.vcproj
P2P_by_shootingstars/P2P/P2PClient/P2PClient.ncb
P2P_by_shootingstars/P2P/P2PClient/P2PClient.cpp
P2P_by_shootingstars/P2P/P2PServer/P2PServer.cpp
P2P_by_shootingstars/P2P/P2PServer/P2PServer.dsw
P2P_by_shootingstars/P2P/P2PServer/P2PServer.opt
P2P_by_shootingstars/P2P/P2PServer/P2PServer.plg
P2P_by_shootingstars/P2P/P2PServer/P2PServer.sln
P2P_by_shootingstars/P2P/P2PServer/P2PServer.suo
P2P_by_shootingstars/P2P/P2PServer/P2PServer.vcproj
P2P_by_shootingstars/P2P/P2PServer/P2PServer.ncb
P2P_by_shootingstars/P2P/P2PServer/P2PServer.dsp
P2P_by_shootingstars/P2P/readme.txt
P2P_by_shootingstars/P2P/UDP穿越NAT.TXT
P2P_by_shootingstars/P2P/proto.h
P2P_by_shootingstars/P2P/proto.h.bak
P2P_by_shootingstars/P2P/P2PClient
P2P_by_shootingstars/P2P/P2PServer
P2P_by_shootingstars/P2P
P2P_by_shootingstars
www.dssz.com.txt
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.