文件名称:eUDPDaDong
介绍说明--下载内容均来自于网络,请自行研究使用
易语言UDP打洞源码
注意:本例程两个客户端必须在不同的内网中,在同一个内网中可能不能通信,也没的必要,服务器端要求端口映射8000和8011端口,客户端不必映射(客户端的UDP断口是8188)当两个客户都连接上服务器时自动开始打洞,双房可以通信,也可以关了服务器或客户断开TCP连接.
现在绝大多数的NAPT是Cone NAT。本人在测试的过程中,只好使用了一台日本的Symmetric NAT。还好不是自己的买的,我从不买日货, 希望看这篇文章的朋友也自觉的不要购买日本的东西。Win9x/2K/XP/2003系统自带的NAPT也是属于 Cone NAT的。这是值的庆幸的,因为我们要做的UDP穿透只能在Cone NAT间进行,只要有一台不是Cone NAT,对不起,UDP穿透没有希望了,UDP中转或服务器转发吧。毕竟连QQ都是那样的,没的办法,希望大家下了要顶,接下来我继续研究TCP打洞.
-UDP hole easy language code
Note: This routine must be in two different clients within the network, within the same network may not communicate, there is no need for server requires port mapping ports 8000 and 8011, the client does not have to map the (client s UDP fracture was 8188) when two customers are connected to the server automatically start when the holes, double room can communicate, you can close the server or the client disconnects the TCP connection.
Now the vast majority of NAPT is Cone NAT. I am in the process of testing, had to use a Japanese Symmetric NAT. Fortunately, not their own to buy, I do not buy Japanese goods, want to see this article conscious friends not to buy Japanese things. Win9x/2K/XP/2003 system also comes with belonging to Cone NAT to NAPT. This is the value of the fortunate, because we can only do UDP penetrate between the Cone NAT, as long as one is not a Cone NAT, I m sorry, UDP through no hope, UDP relay or server to forward it. After all, e
注意:本例程两个客户端必须在不同的内网中,在同一个内网中可能不能通信,也没的必要,服务器端要求端口映射8000和8011端口,客户端不必映射(客户端的UDP断口是8188)当两个客户都连接上服务器时自动开始打洞,双房可以通信,也可以关了服务器或客户断开TCP连接.
现在绝大多数的NAPT是Cone NAT。本人在测试的过程中,只好使用了一台日本的Symmetric NAT。还好不是自己的买的,我从不买日货, 希望看这篇文章的朋友也自觉的不要购买日本的东西。Win9x/2K/XP/2003系统自带的NAPT也是属于 Cone NAT的。这是值的庆幸的,因为我们要做的UDP穿透只能在Cone NAT间进行,只要有一台不是Cone NAT,对不起,UDP穿透没有希望了,UDP中转或服务器转发吧。毕竟连QQ都是那样的,没的办法,希望大家下了要顶,接下来我继续研究TCP打洞.
-UDP hole easy language code
Note: This routine must be in two different clients within the network, within the same network may not communicate, there is no need for server requires port mapping ports 8000 and 8011, the client does not have to map the (client s UDP fracture was 8188) when two customers are connected to the server automatically start when the holes, double room can communicate, you can close the server or the client disconnects the TCP connection.
Now the vast majority of NAPT is Cone NAT. I am in the process of testing, had to use a Japanese Symmetric NAT. Fortunately, not their own to buy, I do not buy Japanese goods, want to see this article conscious friends not to buy Japanese things. Win9x/2K/XP/2003 system also comes with belonging to Cone NAT to NAPT. This is the value of the fortunate, because we can only do UDP penetrate between the Cone NAT, as long as one is not a Cone NAT, I m sorry, UDP through no hope, UDP relay or server to forward it. After all, e
(系统自动生成,下载前可以参看下载内容)
下载文件列表
必看.txt
udp服务器.e
udp客户端.e
udp服务器.e
udp客户端.e