UDP打洞源代码(附NAT即打洞原理)

上传者: kyzww | 上传时间: 2023-02-01 17:08:15 | 文件大小: 6.05MB | 文件类型: ZIP
实现了子网间NAT、网络通信功能;首先服务器上运行server,在两个不同子网下运行client并连接服务器,然后选择通信,当两个client互相收发到数据后,打洞就成功了。

文件下载

资源详情

[{"title":"( 41 个子文件 6.05MB ) UDP打洞源代码(附NAT即打洞原理)","children":[{"title":"P2P","children":[{"title":"Exception.h <span style='color:#111;'> 498B </span>","children":null,"spread":false},{"title":"P2PServer","children":[{"title":"P2PServer.sln <span style='color:#111;'> 907B </span>","children":null,"spread":false},{"title":"P2PServer.ncb <span style='color:#111;'> 49.00KB </span>","children":null,"spread":false},{"title":"P2PServer.cpp <span style='color:#111;'> 5.22KB </span>","children":null,"spread":false},{"title":"P2PServer.opt <span style='color:#111;'> 53.50KB </span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"vc60.pdb <span style='color:#111;'> 100.00KB </span>","children":null,"spread":false},{"title":"P2PServer.obj <span style='color:#111;'> 49.02KB </span>","children":null,"spread":false},{"title":"P2PServer.sbr <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"P2PServer.ilk <span style='color:#111;'> 236.97KB </span>","children":null,"spread":false},{"title":"P2PServer.pch <span style='color:#111;'> 5.31MB </span>","children":null,"spread":false},{"title":"vc60.idb <span style='color:#111;'> 169.00KB </span>","children":null,"spread":false},{"title":"P2PServer.exe <span style='color:#111;'> 184.10KB </span>","children":null,"spread":false},{"title":"P2PServer.bsc <span style='color:#111;'> 1.92MB </span>","children":null,"spread":false},{"title":"P2PServer.pdb <span style='color:#111;'> 481.00KB </span>","children":null,"spread":false}],"spread":true},{"title":"P2PServer.suo <span style='color:#111;'> 8.00KB </span>","children":null,"spread":false},{"title":"P2PServer.dsw <span style='color:#111;'> 541B </span>","children":null,"spread":false},{"title":"P2PServer.plg <span style='color:#111;'> 252B </span>","children":null,"spread":false},{"title":"P2PServer.dsp <span style='color:#111;'> 4.22KB </span>","children":null,"spread":false},{"title":"P2PServer.vcproj <span style='color:#111;'> 4.20KB </span>","children":null,"spread":false}],"spread":true},{"title":"proto.h <span style='color:#111;'> 1.68KB </span>","children":null,"spread":false},{"title":"Peer-to-Peer (P2P).txt <span style='color:#111;'> 70.62KB </span>","children":null,"spread":false},{"title":"P2PClient","children":[{"title":"P2PClient.cpp <span style='color:#111;'> 9.61KB </span>","children":null,"spread":false},{"title":"P2PClient.dsw <span style='color:#111;'> 541B </span>","children":null,"spread":false},{"title":"P2PClient.opt <span style='color:#111;'> 47.50KB </span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"vc60.pdb <span style='color:#111;'> 140.00KB </span>","children":null,"spread":false},{"title":"P2PClient.exe <span style='color:#111;'> 540.10KB </span>","children":null,"spread":false},{"title":"P2PClient.ilk <span style='color:#111;'> 791.32KB </span>","children":null,"spread":false},{"title":"P2PClient.pdb <span style='color:#111;'> 1.07MB </span>","children":null,"spread":false},{"title":"P2PClient.obj <span style='color:#111;'> 231.62KB </span>","children":null,"spread":false},{"title":"vc60.idb <span style='color:#111;'> 185.00KB </span>","children":null,"spread":false},{"title":"P2PClient.bsc <span style='color:#111;'> 2.05MB </span>","children":null,"spread":false},{"title":"P2PClient.pch <span style='color:#111;'> 6.42MB </span>","children":null,"spread":false},{"title":"P2PClient.sbr <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":true},{"title":"P2PClient.plg <span style='color:#111;'> 1.45KB </span>","children":null,"spread":false},{"title":"P2PClient.suo <span style='color:#111;'> 8.00KB </span>","children":null,"spread":false},{"title":"P2PClient.dsp <span style='color:#111;'> 4.22KB </span>","children":null,"spread":false},{"title":"P2PClient.vcproj <span style='color:#111;'> 4.26KB </span>","children":null,"spread":false},{"title":"P2PClient.ncb <span style='color:#111;'> 33.00KB </span>","children":null,"spread":false},{"title":"P2PClient.sln <span style='color:#111;'> 907B </span>","children":null,"spread":false}],"spread":true},{"title":"UDP穿越NAT.TXT <span style='color:#111;'> 8.53KB </span>","children":null,"spread":false},{"title":"readme.txt <span style='color:#111;'> 93B </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明