摘要
P2P(Peer to Peer)技术已经在即时通信软件中得到了广泛应用,P2P即时通信要求通信双方能够进行双向通信,但IPv4环境下的NAT(Network Address Translation)机制使得P2P的应用受到了限制。本文设计了一种在IPv4环境下P2P即时通信软件穿越NAT的方法,在公网中提供代理服务器以使通信双方可以获得对方的地址从而进行直接通信。最后讨论了在IPv6下将P2P技术应用到即时通信软件中的优势和发展前景。
The P2P (Peer to Peer) technology has been widely used in the development of Instant Messaging software. The P2P-based Instant Messaging demands both ends to communicate using full-duplex communication mode. But the NAT (Network Address Translation) mechanism of IPv4 restricts the application of P2P technology. In this article, a method for data packet traversing through NAT is designed. By this method, any P2P-based Instant Messaging software can easily operate under the,IPv4 environment. At last, the superiority and foreground of P2P technology used for Instant Messaging software under the IPv6 environment are discussed.
出处
《现代计算机》
2006年第12期34-36,78,共4页
Modern Computer