Location:
Search - p2pclient
Search list
Description: P2P 程序客户端,具有很高的参考价值-the client of a P2P application,which is valueable.
Platform: |
Size: 3636 |
Author: 杨 |
Hits:
Description: 用UDP实现了p2p是的穿透,P2PServer运行在一个拥有公网IP的计算机上,P2PClient运行在两个不同的NAT后(注意,如果两个客户端运行在一个NAT后,本程序很可能不能运行正常,这取决于你的NAT是否支持loopback translation,详见http://midcom-p2p.sourceforge.net/draft-ford-midcom-p2p-01.txt,当然,此问题可以通过双方先尝试连接对方的内网IP来解决,但是这个代码只是为了验证原理,并没有处理这些问题),后登录的计算机可以获得先登录计算机的用户名,后登录的计算机通过send username message的格式来发送消息。如果发送成功,说明你已取得了直接与对方连接的成功。-achieved using UDP p2p is the piercing, P2PServer operation in a public IP with the computer, P2PClient running in two different NAT after (Note If two clients running on a NAT, the procedure may not be operating normally, It depends on whether you support the loopback NAT translation, see http : / / midcom-p2p.sourceforge.net/draft-ford- midcom - p2p - 01.txt, of course, this problem can be made by the two sides try to connect with each other to resolve the IP network, but the code is to verify principle, not dealing with these issues), after the computer can log logged in a computer user name, after logged by the computer username send the message format to send information. If the success of this show that you have made a direct link with each other's success.
Platform: |
Size: 31907 |
Author: 刘冰 |
Hits:
Description: 一个模拟P2P聊天的过程的源代码,过程很简单,P2PServer运行在一个拥有公网IP的计算机上,P2PClient运行在两个不同的NAT后(注意,如果两个客户端运行在一个NAT后,本程序很可能不能运行正常,这取决于你的NAT是否支持loopback translation,详见http://midcom-p2p.sourceforge.net/draft-ford-midcom-p2p-01.txt,当然,此问题可以通过双方先尝试连接对方的内网IP来解决,但是这个代码只是为了验证原理,并没有处理这些问题),后登录的计算机可以获得先登录计算机的用户名,后登录的计算机通过send username message的格式来发送消息。如果发送成功,说明你已取得了直接与对方连接的成功。
程序现在支持三个命令:send , getu , exit
send格式:send username message
功能:发送信息给username
getu格式:getu
功能:获得当前服务器用户列表
exit格式:exit
功能:注销与服务器的连接(服务器不会自动监测客户是否吊线)-a peer-to-peer chatting simulation of the process of source code, the process is very simple. P2PServer operation in a public IP with the computer, P2PClient running in two different NAT after (Note If two clients running on a NAT, the procedure may not be operating normally, It depends on whether you support the loopback NAT translation, see http : / / midcom-p2p.sourceforge.net/draft-ford- midcom - p2p - 01.txt, of course, this problem can be made by the two sides try to connect with each other to resolve the IP network, but the code is to verify principle, not dealing with these issues), after the computer can log logged in a computer user name, after logged by the computer username send the message format to send information. If the success of this show that you have made a direct link
Platform: |
Size: 31210 |
Author: 李俊升 |
Hits:
Description: peer-to-peer 客户端,实现udp穿越nat-peer-to-peer client, udp achieved through nat
Platform: |
Size: 9456 |
Author: czw |
Hits:
Description: 一个vc++编的基于p2p的聊天程序,分为客户端p2pclient和服务器端p2pserver,实现了udp穿透
Platform: |
Size: 32347 |
Author: 彭亮 |
Hits:
Description: 一个模拟P2P聊天的过程的源代码,过程很简单,P2PServer运行在一个拥有公网IP的计算机上,P2PClient运行在两个不同的NAT后(注意,如果两个客户端运行在一个NAT后,本程序很可能不能运行正常,这取决于你的NAT是否支持loopback translation,详见http://midcom-p2p.sourceforge.net/draft-ford-midcom-p2p-01.txt,当然,此问题可以通过双方先尝试连接对方的内网IP来解决,但是这个代码只是为了验证原理,并没有处理这些问题),后登录的计算机可以获得先登录计算机的用户名,后登录的计算机通过send username message的格式来发送消息。如果发送成功,说明你已取得了直接与对方连接的成功。
Platform: |
Size: 31986 |
Author: tongling |
Hits:
Description: VC实现的p2p客户端程序,有GUI的。
Platform: |
Size: 316121 |
Author: ligang |
Hits:
Description: 源代码编译及安装说明
源代码编译及安装说明编译说明:
. 编译环境安装 Microsoft Visual Studio .NET 2003
. 下载WTL(版本:7.5), 网站 http://sourceforge.net/projects/wtl/, 解压并将 wtl/include 加入VS.Net include 工程
参考方法:
打开 Microsoft Visual Studio .NET 2003 点击菜单 工具->选项->Projects->VC++目录->包含文件 ...
.
安装说明:
客户端打包: 客户端打包用 NSIS, 先安装 NSIS程序,下载地址:http://opensource.kan8888.com/tools/nsis208chs2005.exe,
打包脚本见 bin/P2PClient.sis
发布端打包: 打包脚本见 bin/P2PPublisher.nsi
发布端数据库表导入 doc/P2PPublish.sql 脚本
服务端安装:
. Windows: 安装 SqlServer 2000, 创建库并运行 doc/P2POrderServer.sql, 然后导入 data.mdb 数据
. Linux: 安装 Mysql 并导入相关数据
配置相关:
. 客户端: P2PNetwork.ini and P2PIEClient.ini, 发布端: P2POrderClient.ini, 服务端: P2POrderServer.ini
具体详细配置方法见各文件备注
运行:
. 首先运行 P2POrderServer.exe,
. 再运行 P2POrderClient.exe 进行发布
. 再启动服务程序 P2PServer.exe, 此程序为服务程序,先运行 Install.bat 进行安装,然后运行 Start.bat启动
也可以用打包后的程序进行安装,安装后自动启动.
Platform: |
Size: 4087775 |
Author: ff2009 |
Hits:
Description: P2P 程序客户端,具有很高的参考价值-the client of a P2P application,which is valueable.
Platform: |
Size: 3072 |
Author: 杨 |
Hits:
Description: 用UDP实现了p2p是的穿透,P2PServer运行在一个拥有公网IP的计算机上,P2PClient运行在两个不同的NAT后(注意,如果两个客户端运行在一个NAT后,本程序很可能不能运行正常,这取决于你的NAT是否支持loopback translation,详见http://midcom-p2p.sourceforge.net/draft-ford-midcom-p2p-01.txt,当然,此问题可以通过双方先尝试连接对方的内网IP来解决,但是这个代码只是为了验证原理,并没有处理这些问题),后登录的计算机可以获得先登录计算机的用户名,后登录的计算机通过send username message的格式来发送消息。如果发送成功,说明你已取得了直接与对方连接的成功。-achieved using UDP p2p is the piercing, P2PServer operation in a public IP with the computer, P2PClient running in two different NAT after (Note If two clients running on a NAT, the procedure may not be operating normally, It depends on whether you support the loopback NAT translation, see http :// midcom-p2p.sourceforge.net/draft-ford- midcom- p2p- 01.txt, of course, this problem can be made by the two sides try to connect with each other to resolve the IP network, but the code is to verify principle, not dealing with these issues), after the computer can log logged in a computer user name, after logged by the computer username send the message format to send information. If the success of this show that you have made a direct link with each other's success.
Platform: |
Size: 31744 |
Author: 刘冰 |
Hits:
Description: 一个模拟P2P聊天的过程的源代码,过程很简单,P2PServer运行在一个拥有公网IP的计算机上,P2PClient运行在两个不同的NAT后(注意,如果两个客户端运行在一个NAT后,本程序很可能不能运行正常,这取决于你的NAT是否支持loopback translation,详见http://midcom-p2p.sourceforge.net/draft-ford-midcom-p2p-01.txt,当然,此问题可以通过双方先尝试连接对方的内网IP来解决,但是这个代码只是为了验证原理,并没有处理这些问题),后登录的计算机可以获得先登录计算机的用户名,后登录的计算机通过send username message的格式来发送消息。如果发送成功,说明你已取得了直接与对方连接的成功。
程序现在支持三个命令:send , getu , exit
send格式:send username message
功能:发送信息给username
getu格式:getu
功能:获得当前服务器用户列表
exit格式:exit
功能:注销与服务器的连接(服务器不会自动监测客户是否吊线)-a peer-to-peer chatting simulation of the process of source code, the process is very simple. P2PServer operation in a public IP with the computer, P2PClient running in two different NAT after (Note If two clients running on a NAT, the procedure may not be operating normally, It depends on whether you support the loopback NAT translation, see http :// midcom-p2p.sourceforge.net/draft-ford- midcom- p2p- 01.txt, of course, this problem can be made by the two sides try to connect with each other to resolve the IP network, but the code is to verify principle, not dealing with these issues), after the computer can log logged in a computer user name, after logged by the computer username send the message format to send information. If the success of this show that you have made a direct link
Platform: |
Size: 30720 |
Author: 李俊升 |
Hits:
Description: UDP穿越NAT的原理和源代码,我用自己实现的一个源代码来说明UDP穿越NAT的原理和源代码供大家参考-the principle and source code, I used one of their own to achieve the source code to illustrate UDP Through NAT principle and the source code for your consideration
Platform: |
Size: 75776 |
Author: 王和 |
Hits:
Description: 论坛上经常有对P2P原理的讨论,但是讨论归讨论,很少有实质的东西产生(源代码)。呵呵,在这里我就用自己实现的一个源代码来说明UDP穿越NAT的原理-regular forum for the discussion of P2P principle, but the discussion under discussion, Few things have real (source code). Oh, I am here on their own to achieve one of the source code to illustrate the UDP Through NAT Principle
Platform: |
Size: 30720 |
Author: wangning |
Hits:
Description: peer-to-peer 客户端,实现udp穿越nat-peer-to-peer client, udp achieved through nat
Platform: |
Size: 34816 |
Author: czw |
Hits:
Description: 一个vc++编的基于p2p的聊天程序,分为客户端p2pclient和服务器端p2pserver,实现了udp穿透
Platform: |
Size: 31744 |
Author: 彭亮 |
Hits:
Description: 一个模拟P2P聊天的过程的源代码,过程很简单,P2PServer运行在一个拥有公网IP的计算机上,P2PClient运行在两个不同的NAT后(注意,如果两个客户端运行在一个NAT后,本程序很可能不能运行正常,这取决于你的NAT是否支持loopback translation,详见http://midcom-p2p.sourceforge.net/draft-ford-midcom-p2p-01.txt,当然,此问题可以通过双方先尝试连接对方的内网IP来解决,但是这个代码只是为了验证原理,并没有处理这些问题),后登录的计算机可以获得先登录计算机的用户名,后登录的计算机通过send username message的格式来发送消息。如果发送成功,说明你已取得了直接与对方连接的成功。
Platform: |
Size: 31744 |
Author: tongling |
Hits:
Description: 点到点通信代码,其中包括客户端程序和服务器端程序。-Code point-to-point communications, including client and server-side program.
Platform: |
Size: 3589120 |
Author: 刘卫 |
Hits:
Description: VC实现的p2p客户端程序,有GUI的。-VC realize the p2p client, has a GUI.
Platform: |
Size: 315392 |
Author: ligang |
Hits:
Description: 简单的p2p传输代码,能够实现简单的对话聊天-P2p transfer simple code to achieve a simple chat dialogue
Platform: |
Size: 2808832 |
Author: simon |
Hits:
Description: NAT 点对点通信功能 提供P2Pserver和P2PClient 将P2Pserver放在公共IP地址上运行,在任一台连接到INTERNET上的电脑上运行P2Pclient程序,即可建立UDP连接,接收到私有IP对应的公共IP地址,与另一个client通信-NAT function provides point to point communication and P2PClient P2Pserver public IP address on the P2Pserver run on any computer connected to the INTERNET on the computer running P2Pclient program, you can create UDP, receives the corresponding private IP public IP address, communicate with another client
Platform: |
Size: 9651200 |
Author: 郑好 |
Hits: