Re: NAT Negotiation

"Brett Bibby" <[email protected]>
Newsgroups gmane.games.devel.general
Organization GameBrains
Message-ID <[email protected]>
> This post seems like you are making the topic more complex than it really 
> should be. 

Sadly, no :-)

> So, if you have a simple protocol in which all connections originate from 
> _behind_ the NAT device, destined for the server, you won't have any issues. 

The problem is with peer-to-peer. The NAT opened a hole for the server, but not for another client who is also behind a NAT. Even if both clients send each other packets on the same port, there is no guarantee that the specified port may open up. It could be random, incremented one or some other algorithm.

Check out http://www.mindcontrol.org/~hplus/nat-punch.html for a nicer explanation of the issues.





-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
Gamedevlists-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gamedevlists-general
Archives:
http://sourceforge.net/mailarchive/forum.php?forum_idU7
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.