摘要 |
A terminal device includes a first communication portion that performs tunneling communication with another terminal device via a server adapted to realize tunneling communication between the terminal device and the other terminal device by encapsulating and decapsulating packets, an identification portion that identifies, by communication with a management server, type information of at least one of a NAT device that controls an internal network to which the terminal device is connected and another NAT device that controls another internal network to which the other terminal device is connected, a selection portion that selects a start-up procedure to start peer to peer communication based on the type information, a switching portion that performs communication based on the start-up procedure, starts the P2P communication, and then switches from the tunneling communication to the P2P communication by terminating the tunneling communication, and a second communication portion that performs the P2P communication after switching.
|