Jump to content

  • Log In with Google      Sign In   
  • Create Account

Interested in a FREE copy of HTML5 game maker Construct 2?

We'll be giving away three Personal Edition licences in next Tuesday's GDNet Direct email newsletter!

Sign up from the right-hand sidebar on our homepage and read Tuesday's newsletter for details!


We're also offering banner ads on our site from just $5! 1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


#Actualhplus0603

Posted 10 July 2013 - 09:23 PM

You are correct that you need NAT punch-through to get through residential NAT routers, if you don't want to require port forwarding.

 

You can read about it in <a href='http://www.mindcontrol.org/~hplus/nat-punch.html'>my article on NAT punch-through</a> or in the chapter about the same thing in Game Programming Gems 5. You can also google for other resources.

 

Note that NAT punch-through generally works best for UDP networking, but the theory also works fine for TCP connections using "simultaneous open." In practice, that's less often actually successful than UDP, though, depending on implementation specifics of residential NAT routers.


#1hplus0603

Posted 10 July 2013 - 09:22 PM

You are correct that you need NAT punch-through to get through residential NAT routers, if you don't want to require port forwarding.

 

You can read about it in my article on NAT punch-through or in the chapter about the same thing in Game Programming Gems 5. You can also google for other resources.

 

Note that NAT punch-through generally works best for UDP networking, but the theory also works fine for TCP connections using "simultaneous open." In practice, that's less often actually successful than UDP, though, depending on implementation specifics of residential NAT routers.


PARTNERS