Method on Using UDP to Traverse NAT Under P2P Network Environment

Based on the Internet, the P2P network technology and the principle of NAT and the impact of NAT on P2P network are analyzed. It discusses some techniques in applying P2P technology on existing communication protocol, including the techniques of a port to port addressing, ip address resolution techniques in LAN and so on . In the end of article, an example about P2P network applications is given,which used the UDP Sockets techniques.