Original Post
My home network uses a router as its gateway to the internet. Therefore none of the hosts on my home network are visible to the outside world. This makes it so that if i create a socket on a local host it is impossible for it to be accessed by an external host because all i have is a local IP address. I have noticed that if I select Internet Gateway from the network connections (in the start menu) and click 'settings' that I can input the details of the sockets I want to be visible to the internet. My question is how do I detect that a host is using an internet gateway and what code do I need to write to get my games socket details onto the list of sockets that is accessible from the internet? Cheers