Skip to main content
gamedev.net
🔒 Locked

Grid Computing in MMOG

Started by NihilisticMystick Mar 18, 2005 at 12:22 PM 3 replies 1.2k views
Original Post
NihilisticMystick
NihilisticMystick
Ok so I'm working on laying out a server architecture for a MMOG I'm designing for a little practice. But the problem I'm having is with connections between clients and grid nodes. Basically my network is set up as such: all clients -> Login Server -> Main Server -> Grid Nodes Now my problem lies here: Essentially the servers are going to have to be behind a router, because i cant buy and internet connection for each grid comp, however the problem lies in connecting the client to each of the grid nodes that need to communicate with the client. I could have the grid connect to the client, but then if the client is behind a firewall or router then they cant connect to the client. So ive essentially got some two way blockage here. And in case you are wondering im reasonably new to network protocol. Anyway, is there anyway you can open multiple connections and then pass them down to other computers in your network so they are connected to the client. I dunno exactly what I want though, so any suggestion is appreciated.
Palidine
Palidine
well, the first and most vital thing is that you have an internet connection with at least one STATIC IP address. If you have dynamically assigned address you can't host a server, period. You'll know that you have a static IP because you are paying an extra $30 per month =). If it's your parent's connection ask them if you have a static IP. If they don't know what a static IP is then i pretty much guarantee that you don't have one.

If you do have a static IP you can just have each grid computer listen on a different port: say ports 4000 - 4009 (assuming 10 grid computers). Then the client can connect to :4000 - 4009. basically it will establish 10 seperate links to each of the different grid computers each on a different port. then everything will be happy. Then just configure your router to port-forward those ports to the respective internal addresses. There should be an option "port-forwarding" on the website that the router hosts (or if you have an arcane COM-based router, it's time to read the manual). Once the port-forwarding is set up then any connection coming in on ports 4000-4009 will go directy to the appropriate grid computer.

-me
NihilisticMystick
NihilisticMystick
Ahh, thanks palidine that sounds like it will work perfectly, i totally forgot about port forwarding on the server's router. Lol.
gcs584
gcs584
If you don't have a static IP address, you can use the website below to receive a domain name for your server which will make it easier for clients to connect. This was posted on a forum a couple of weeks ago.

No-IP

Later,

GCS584

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.