Jump to content
  • Advertisement
Sign in to follow this  
smerf

UDP question....

This topic is 4283 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I have searched high and low (and even in some places I'd like to forget I ever saw) for the information that will tell me exactly how the Nat2Nat server for UltraVNC works (not just a vague diagram, but the code needed - at least psuedocode - to connect the 2 clients) . (You can see it at http://www.uvnc.com/addons/nat2nat.html.) I get the diagram and all, but how exactly would you get 2 UDP connections to your UDP server to start talking to each other instead of the server? As I see it, the whole reason for the Nat2Nat server is to get 2 PCs that can only make ooutgoing connections (because they are behind NATs) to connect directly. If they have already connected to the UDP server and cannot accept incoming connections, how do you get them connected directly to each other and drop the Nat2Nat server from the loop? What's the trick to this? Does anybody know?

Share this post


Link to post
Share on other sites
Advertisement
I think what you're searching for is a NAT "Punch".

check out this site:
http://www.mindcontrol.org/~hplus/nat-punch.html

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!