Jump to content

  • Log In with Google      Sign In   
  • Create Account

Banner advertising on our site currently available from just $5!

1. Learn about the promo. 2. Sign up for GDNet+. 3. Set up your advert!


Member Since 05 Nov 2013
Offline Last Active Today, 01:45 PM

Posts I've Made

In Topic: OpenGL vs DirectX

25 May 2015 - 01:37 PM


In Topic: What do you have on your Desk?

13 April 2015 - 12:53 PM

To me, pictures are worth 1000 words.

I want the names of all those books.

In Topic: What is a lobby server?

01 November 2014 - 12:57 AM

The problem comes if you (or your father, or your microwave oven) want to host a game.
For some other player to join the game you are hosting, they need your public IP address.
Unfortunately, that address is the one of your router -- not of your computer.
Your router doesn't know what it means when someone tries to connect to "your game."
There are two solutions:

1) Use port forwarding, and make the way to configure hosted games aware of the user doing port forwarding. This requires network knowledge and administration for each user who wants to host a game, making hosting "hard."
2) Use NAT punch-through, using an external third party server to "see" what your external IP address is, and "see" which port the router happened to pick for your connection, and let the other player know about what it sees.

Option 2) is generally automatic with most good-quality routers/firewalls, unless they are locked down in "super paranoid" mode, in which case you can forget about hosting anything.


Thanks for such a great explanation.

In Topic: What is a lobby server?

31 October 2014 - 11:47 AM

Which part is confusing you? I'm not sure any of us will be able to do better than the Internet at explaining the overall picture unless we have some specific context to aim at.

I searched a lot and finally came to this conclusion.

Suppose there are 3 computers in your home. One of your brother, one of your sister and one of your father. All of them use the same router to access the internet. Now, what NAT (Network Address Translation) does is that you and your family have the same public ip address if you all browse at the same time (but not the same private ip). If any of you use the internet from any computer, then the same (public) IP address is used to request a connection from the server. From the perspective of the server, only one computer is requesting the information. So, NAT provides some security layer. What NAT does is translate between private and public ip address.

What I mentioned above correct? How is NAT related to peer-peer/server hosting/gaming? What is port forwarding and how it can help to host servers or to play a match in peer-to-peer ?

In Topic: What is a lobby server?

31 October 2014 - 07:36 AM

Have you tried reading the FAQ or Googling?

Yes, but I don't understand it perfectly.