CDN加速镜像 | 设为首页 | 加入收藏夹
当前位置: 首页 资源下载 源码下载 Internet/网络编程 P2P编程

文件名称:P2PUDPNAT

  • 所属分类:
  • 标签属性:
  • 上传时间:
    2012-11-16
  • 文件大小:
    30.04kb
  • 已下载:
    0次
  • 提 供 者:
  • 相关连接:
  • 下载说明:
    别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容来自于网络,使用问题请自行百度

自己实现的一个源代码来说明UDP穿越NAT的原理。 首先先介绍一些基本概念: NAT(Network Address Translators),网络地址转换:网络地址转换是在IP地址日益缺乏的情况下产生的,它的主要目的就是为了能够地址重用。NAT分为两大类,基本的NAT和NAPT(Network Address/Port Translator)。最开始NAT是运行在路由器上的一个功能模块。 最先提出的是基本的NAT,它的产生基于如下事实:一个私有网络(域)中的节点中只有很少的节点需要与外网连接(呵呵,这是在上世纪90年代中期提出的)。那么这个子网中其实只有少数的节点需要全球唯一的IP地址,其他的节点的IP地址应该是可以重用的。因此,基本的NAT实现的功能很简单,在子网内使用一个保留的IP子网段,这些IP对外是不可见的。子网内只有少数一些IP地址可以对应到真正全球唯一的IP地址。如果这些节点需要访问外部网络,那么基本NAT就负责将这个节点的子网内IP转化为一个全球唯一的IP然后发送出去-He s a source to explain the principles through NAT UDP). First introduced some basic concepts: NAT (Network), its "Network Address translation: Network Address translation is growing in the IP Address of the circumstances, its main purpose is to Address reuse. NAT is divided into two categories, the basic NAT and NAPT Network (" Port/Translator). Most started on a router NAT is running a function module. The first is the basic NAT, which is based on the fact that, a private network (domains) nodes in only a few nodes need and connected to the network (ha ha, this is in the mid 1990s put). So the subnet of only a few of the nodes in the only global IP address to other nodes IP address should be reused. Therefore, the basic functions of the NAT is very simple, use a reserve in subnet mask, the IP is not visible outside the IP. Subnet only a few IP address can correspond to the real world of IP addresses. If the nodes need access to external network, then basic NAT is responsible for thi
相关搜索: NAT

(系统自动生成,下载前可以参看下载内容)

下载文件列表

P2PClient/P2PClient.cpp
P2PClient/P2PClient.dsp
P2PClient/P2PClient.dsw
P2PClient/P2PClient.ncb
P2PClient/P2PClient.opt
P2PClient/P2PClient.plg
P2PClient/P2PClient.sln
P2PClient/P2PClient.suo
P2PClient/P2PClient.vcproj
P2PServer/P2PServer.cpp
P2PServer/P2PServer.dsp
P2PServer/P2PServer.dsw
P2PServer/P2PServer.ncb
P2PServer/P2PServer.opt
P2PServer/P2PServer.plg
P2PServer/P2PServer.sln
P2PServer/P2PServer.suo
P2PServer/P2PServer.vcproj
Exception.h
proto.h
UDP穿越NAT.TXT
P2PClient
P2PServer

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 搜珍网是交换下载平台,只提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度。更多...
  • 本站已设置防盗链,请勿用迅雷、QQ旋风等下载软件下载资源,下载后用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或换浏览器;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*快速评论: 推荐 一般 有密码 和说明不符 不是源码或资料 文件不全 不能解压 纯粹是垃圾
*内  容:
*验 证 码:
搜珍网 www.dssz.com