资 源 简 介
序采用网上介绍的方法实现最基本的P2P方式通讯.模拟实现即时消息互发.
2.P2P通讯说明:
1).网关类型是在理想状态下.即非对称型NAT.
2).同在一个内网的两个CLIENT端通讯时,如果网关NAT不支持环回,将会失败.
文件目录说明:
tQServer:程序服务端,请将其放在公网上运行.
tQClient:程序客户端,可以在不同的内网中运行登录连接到服务端.
Common:公共协议文件夹-sequence on the Internet to the most basic method of peer-to-peer communication. Simulation instant messaging each other fat. 2 . P2P communications : 1). Gateway is the ideal type of state. that is non-symmetric NAT. 2). with the network within a two CLIE NT-communication, if not support NAT Gateway Circular, will fail. directory : tQServer : process server, you should put its public Internet. tQClient : clients, in various operations within the network login connected to the server. Common : Public folder agreement
文 件 列 表
tQClient
tQClientProject.res
MainUnit.dcu
tQClientProject.exe
tQClientProject.~dpr
tQClientProject.dpr
tQClientProject.dof
tQClientProject.cfg
AboutUnit.dcu
MainUnit.~pas
MainUnit.~dfm
MainUnit.~ddp
AboutUnit.pas
AboutUnit.~pas
AboutUnit.dfm
AboutUnit.~dfm
AboutUnit.ddp
AboutUnit.~ddp
MainUnit.pas
MainUnit.dfm
MainUnit.ddp
2ccc.com.nfo
Common
testQQCommon.dcu
testQQCommon.~pas
testQQCommon.pas
tQServer
MainUnit.dcu
ServerProject.exe
ServerProject.res
testQQCommon.~pas
testQQCommon.dcu
ServerProject.~dpr
ServerProject.dpr
ServerProject.dof
ServerProject.cfg
MainUnit.~pas
MainUnit.~dfm
MainUnit.~ddp
MainUnit.pas
MainUnit.dfm
MainUnit.ddp
2ccc.com.nfo
Readme.txt
thanksharp_tQPic.gif
2ccc.com.nfo