Skip to content

A simple UDP-based NAT hole punching example for C.

License

Notifications You must be signed in to change notification settings

valonraca/hole-punch

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hole Punch: UDP NAT Punching

(c) Chris Kennelly ([email protected])

Overview

This repository contains a simple example of UDP hole punching in C. It compiles to two binaries, a server that relays client information and a simple client that ping-pongs data to and from another instance of itself.

This protocol may fail when two clients are behind the same NAT and encounter a router that will not send packets to its own external IP address.

This example is licensed under the Boost Software License 1.0. For more information see COPYING.

About

A simple UDP-based NAT hole punching example for C.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 91.7%
  • Makefile 8.3%