摘要 |
Disclosed is a path establishment method for P2P connection NAT traversal, in which an NAT traversal full path is selected with another peer-to-peer network client, comprising the steps of: S10, selecting an unchecked address pair with the highest priority from a list of to-be-address pairs as a currently checked path; S20, according to the currently checked path, sending a path check request packet to another peer-to-peer network client; S30, monitoring a present client NAT host; S40, judging whether the present client NAT host receives a path check response packet sent by another peer-to-peer network client; S50, when the path check response packet sent by another peer-to-peer network client is received, setting a current address pair as the optimal path; and S60, stopping check circulation. |