关键词:虚拟实验平台;P2P技术;UDP;穿透NAT;Scoket编程
Network-based Virtual Experimental Platform——
Design and Implementation of VLP2P Communication Library
Abstract
With the development of information technology, networks will provide us with more convenience undoubtedly. Therefore, a good system must have network functions. According to real functions of the virtual experiment platform, P2P technology has powerful benefits to decrease probability of using server resources and upgrade the transmission efficiency, as a base of networking communication. While, because of the existence of NAT issues, it is difficult to communicate among different local networks. To make P2P communication get values in real application, an important problem required to solve is the system communication among different networks by penetrating NAT.
There are many functions related to network communication in the virtual experiment platform based on network. For improve modularization of the system and decrease repetitive developing work, the network communication is extracted as an independent part to design and implement P2P communication library named VLP2P. In the thesis, the testing program for communication library is also designed. With real testament, it has proven that the communication library has achieved the initial purpose..