Skip to content

p2p chat example for multiple users behind NAT using tcp hole punching

Notifications You must be signed in to change notification settings

sejongk/tcp_hole_punching

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TCP Hole Punching

Description

p2p chat example for multiple users behind NAT using tcp hole punching

  • relay.py - STUN server file
  • user.py - p2p user(client) file

Environment

Case 1

  • STUN server
  • Client 1, 2 behind different iptime routers

Case 2

  • STUN server
  • Client 1 behind an iptime rounter(N704BCM model, NAT)
  • Client 2 behind IPhone hotspot(NAPT)

Report

Reference

About

p2p chat example for multiple users behind NAT using tcp hole punching

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages