8000 GitHub - gongluck/NatType-Detect: Simply detect the NAT type and implement P2P connection · GitHub
[go: up one dir, main page]

Skip to content

About

Simply detect the NAT type and implement P2P connection

Topics

Resources

Stars

5 stars

Watchers

1 watching

Forks

Latest commit

 

History

6 Commits

Folders and files

Repository files navigation

NatType-Detect

Simply detect the NAT type and implement P2P connection

Hardware dependent

  • two servers with public addresses

How to use

  • use cmake.* script to build applications
  • start server A with server [server B's address]
  • start server B with server [server A's address]
  • detect client's NAT type with client [server A's address] [server B's address]
  • detect another client's NAT type with client [server A's address] [server B's address] will start P2P connection
  • enjoy it

Other tools

To learn more

NAT基本原理及穿透详解(打洞)

NAT详解:基本原理、穿越技术(P2P打洞)、端口老化等

STUN 原理理解

About

Simply detect the NAT type and implement P2P connection

Topics

Resources

Stars

5 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages

0