What is UPnP?
UPnP is the fabric of peer-to-peer network connectivity across the globe through a wide range of smart devices, wireless devices, and PCs.
UPnP is a distributed, open network architecture.
UPnP is an independent medium. UPnP devices can be used in any operating system with any programming language.
UPnP is a technology that is based on the TCP/IP protocol used on the Internet and in the LAN. Internet users through the wireless network is in the intranet, in order to ensure that Peer-to-peer software such as BT work properly, open UPnP is necessary, and most wireless routers have this feature. (UPnP defaults for most wireless routers are turned off, and users can manually turn on the feature and restart the router to take effect)
The above through UPnP technology to achieve the function, we use the most is the function is usually through BT download movies, through the fast seeding, PPTV these video software to see network video, etc., involved in many aspects of our network applications
UPnP working principle:
Some software can map its own ports through UPnP, such as thunder, fast seeding, etc. Suppose he is 192.168.1.3 this machine, Port 88, router's public network IP is 22.22.22.22 words, after the UPnP, the Thunderbolt will use UPnP function, will 88-port map to the public network 22.22.22.22 this IP, if other machines to share files, direct connection 22.22.2 2.22:88 can increase the download speed, otherwise you can only rely on the active connection to share resources.