Jump to content

  • Log In with Google      Sign In   
  • Create Account

Awesome job so far everyone! Please give us your feedback on how our article efforts are going. We still need more finished articles for our May contest theme: Remake the Classics

#Actualwaxychicken

Posted 12 February 2012 - 10:39 PM

The "Master Server" is just server browsing data. it just tells the Game Client "This is a list of servers." the PHP Master Server is not trying to set up a NAT punch through. Just pass information for "You can find a server at 123.123.123.123:5555"

The Game Server is trying to set up a connection. It can hear, but the client can't.


Game Server---> UPnP Router---> Public Cloud <---- NAT Non-UPnP Router <---- Game Client

The client simply needs to connect to the IP/port of the listed server, and no NAT discovery or punch-through is needed.

So then the connection error i'm having is likely in my code and not in a closed client router port?

-----
EDIT:
it can't be a programing error because any client with UPnP router OR with a client machine directly connected to the internet with no router is able to hear the Game Server say "Yes, you may join the game".

#1waxychicken

Posted 12 February 2012 - 10:32 PM

The "Master Server" is just server browsing data. it just tells the Game Client "This is a list of servers." the PHP Master Server is not trying to set up a NAT punch through. Just pass information for "You can find a server at 123.123.123.123:5555"

The Game Server is trying to set up a connection. It can hear, but the client can't.


Game Server---> UPnP Router---> Public Cloud <---- NAT Non-UPnP Router <---- Game Client

The client simply needs to connect to the IP/port of the listed server, and no NAT discovery or punch-through is needed.

So then the connection error i'm having is likely in my code and not in a closed client router port?

PARTNERS