Description: Typically, when a process uses UDP to communicate with an external host, NAT creates a Session, how long the Session can hold and does not have a standard, maybe a few seconds, minutes, hours. If ClientA-1 see ClientB-1 online in the application program, and I want to communicate with ClientB-1, one way is Server as a middleman between ClientA-1 and ClientB-1, is responsible for forwarding the message, but this server will not be able to eat too tired. Another approach is to let ClientA-1 Ho ClientB-1 establish end-to-end connections, and then communicate by themselves. This is the P2P connection.
To Search:
File list (Check if you may need any files):
p2p\comm.cpp
p2p\comm.h
p2p\common\comm.cpp
p2p\common\comm.h
p2p\common\Debug.h
p2p\common\initsock.h
p2p\common\protoinfo.h
p2p\common\_desktop.ini
p2p\P2PClientDemo\Debug\comm.obj
p2p\P2PClientDemo\Debug\P2PClient.obj
p2p\P2PClientDemo\Debug\P2PClientDemo.exe
p2p\P2PClientDemo\Debug\P2PClientDemo.ilk
p2p\P2PClientDemo\Debug\P2PClientDemo.obj
p2p\P2PClientDemo\Debug\P2PClientDemo.pch
p2p\P2PClientDemo\Debug\P2PClientDemo.pdb
p2p\P2PClientDemo\Debug\vc60.idb
p2p\P2PClientDemo\Debug\vc60.pdb
p2p\P2PClientDemo\Debug\_desktop.ini
p2p\P2PClientDemo\P2PClient.cpp
p2p\P2PClientDemo\P2PClient.h
p2p\P2PClientDemo\P2PClientDemo.cpp
p2p\P2PClientDemo\P2PClientDemo.dsp
p2p\P2PClientDemo\P2PClientDemo.dsw
p2p\P2PClientDemo\P2PClientDemo.ncb
p2p\P2PClientDemo\P2PClientDemo.opt
p2p\P2PClientDemo\P2PClientDemo.plg
p2p\P2PClientDemo\_desktop.ini
p2p\P2PServer\Debug\comm.obj
p2p\P2PServer\Debug\comm.sbr
p2p\P2PServer\Debug\P2PServer.bsc
p2p\P2PServer\Debug\P2PServer.exe
p2p\P2PServer\Debug\P2PServer.ilk
p2p\P2PServer\Debug\P2PServer.obj
p2p\P2PServer\Debug\P2PServer.pch
p2p\P2PServer\Debug\P2PServer.pdb
p2p\P2PServer\Debug\P2PServer.sbr
p2p\P2PServer\Debug\vc60.idb
p2p\P2PServer\Debug\vc60.pdb
p2p\P2PServer\Debug\_desktop.ini
p2p\P2PServer\P2PServer.cpp
p2p\P2PServer\P2PServer.dsp
p2p\P2PServer\P2PServer.dsw
p2p\P2PServer\P2PServer.ncb
p2p\P2PServer\P2PServer.opt
p2p\P2PServer\P2PServer.plg
p2p\P2PServer\_desktop.ini
p2p\_desktop.ini
p2p\P2PClientDemo\Debug
p2p\P2PServer\Debug
p2p\common
p2p\P2PClientDemo
p2p\P2PServer
p2p