Introduction - If you have any usage issues, please Google them yourself
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.
Packet : 77433623liubingp2p.rar filelist
P2P
P2P\Exception.h
P2P\P2PClient
P2P\P2PClient\P2PClient.cpp
P2P\P2PClient\P2PClient.dsp
P2P\P2PClient\P2PClient.dsw
P2P\P2PClient\P2PClient.ncb
P2P\P2PClient\P2PClient.opt
P2P\P2PClient\P2PClient.plg
P2P\P2PClient\P2PClient.sln
P2P\P2PClient\P2PClient.suo
P2P\P2PClient\P2PClient.vcproj
P2P\P2PServer
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\P2PServer.sln
P2P\P2PServer\P2PServer.suo
P2P\P2PServer\P2PServer.vcproj
P2P\proto.h
P2P\UDP穿越NAT.TXT