Design and implementation of the P2P instant message system based on NAT traversal

Chen Ai-wang · Electronic Design Engineering · 2011

The application of Peer-to-Peer(P2P) in the Instant Message System improves many problems of Client/Server(C/S) frame.It releases the server to a certain extent and increase transfer rate.However,P2P system has a typical problem that can't setup connection normally when being blocked in the Network Address Translation(NAT) environment.This system is designed based on a university network construction project.Provided the solution to the problem with the main UDP Hole Punching supporting and relaying as a secondary assistance.Through this solution realized the NAT detection module,NAT traversal module and other modules of the system.Solve the problem caused by NAT,and has improved some weakness of the university network.The system has worked well till now and has achieved the initial goals.

Read the paper · More papers on PaperTik