Original Post
I'm currently experimenting a bit with the Lidgren network library. I'm planning on redoing my network code for my game and I was thinking about implementing it through NAT traversal, so don't the clients don't need to open any ports. For instance, Age of Empires does it this way, and only the host needs to open a series of ports and the rest of the clients can than perfectly fine connect to the other hosts. However, how do I implement this over UDP? Connect to the host, and then determine what the locally used port is and then start listening on that port? Or is there a way where I can punch a NAT hole on the port I intend to use as the server port(4444 in this case)? I tried to google on some articles, but can't really find information on it. Toolmaker