Java UDP打洞、 穿透NAT,P2P通信成功源码

上传者: every2010 | 上传时间: 2019-12-21 19:42:36 | 文件大小: 15KB | 文件类型: rar
UDP打洞实现了子网间的穿透功能,首先在一台拥有公网IP服务器上运行server,在不同的两个子网PC上运行client,输入服务器IP,即可进行打洞,实现不同子网的通信。

文件下载

资源详情

[{"title":"( 16 个子文件 15KB ) Java UDP打洞、 穿透NAT,P2P通信成功源码","children":[{"title":"TestP2P-UDP","children":[{"title":".project <span style='color:#111;'> 387B </span>","children":null,"spread":false},{"title":"src","children":[{"title":"进度.txt <span style='color:#111;'> 187B </span>","children":null,"spread":false},{"title":"xwz","children":[{"title":"p2p","children":[{"title":"upd","children":[{"title":"client","children":[{"title":"MainClient.java <span style='color:#111;'> 4.40KB </span>","children":null,"spread":false},{"title":"HeartThread.java <span style='color:#111;'> 757B </span>","children":null,"spread":false}],"spread":true},{"title":"util","children":[{"title":"MyProtocol.java <span style='color:#111;'> 1.64KB </span>","children":null,"spread":false},{"title":"ConnectionClientInfo.java <span style='color:#111;'> 691B </span>","children":null,"spread":false},{"title":"StringUtil.java <span style='color:#111;'> 589B </span>","children":null,"spread":false}],"spread":true},{"title":"server","children":[{"title":"MainServer.java <span style='color:#111;'> 4.70KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":".classpath <span style='color:#111;'> 232B </span>","children":null,"spread":false},{"title":"bin","children":[{"title":"进度.txt <span style='color:#111;'> 187B </span>","children":null,"spread":false},{"title":"xwz","children":[{"title":"p2p","children":[{"title":"upd","children":[{"title":"client","children":[{"title":"HeartThread.class <span style='color:#111;'> 969B </span>","children":null,"spread":false},{"title":"MainClient.class <span style='color:#111;'> 4.29KB </span>","children":null,"spread":false}],"spread":true},{"title":"util","children":[{"title":"StringUtil.class <span style='color:#111;'> 847B </span>","children":null,"spread":false},{"title":"MyProtocol.class <span style='color:#111;'> 679B </span>","children":null,"spread":false},{"title":"ConnectionClientInfo.class <span style='color:#111;'> 956B </span>","children":null,"spread":false}],"spread":true},{"title":"server","children":[{"title":"MainServer.class <span style='color:#111;'> 4.74KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}]

评论信息

  • w969272198 :
    比较好的资源
    2019-01-15
  • yixiantian1986 :
    不错的demo, 谢谢分享
    2017-10-27
  • lxs495840215 :
    内网可行,外网行不通.
    2017-07-23
  • lxw804 :
    学习中,借鉴一下,多谢
    2017-06-02
  • ppydppy :
    下来 学习一下,多谢楼主分享
    2017-03-25

免责申明

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