0 Members and 1 Guest are viewing this topic.
Excellent link, thank you, that will help a lot! Date Posted: August 08, 2008, 05:32:11 pmHave looked at this in more detail and it's still not quite what I'm looking for (taught me a lot though).Basically when I got to testing it the game I made with friends, it didn't work despite working fine over a local network. After asking around I got the idea that I either needed a dedicated server, or else needed to perform a punch through operation, similiar to what P2P file sharing software does. For my current project, ideally I'd like a dedicated lobby server which assigns a game host, and sends him the addresses of all clients that want to connect to him so that he can set up a connection between himself and all clients.I gather that I will need to learn PHP (and mySQL?) to achieve this on a server.Essentially I would really appreciate a walkthrough of the steps I need to take, or an online tutorial that does that. All winsock tutorials I have found on the internet only seem to work over a local network.As a P.S. I have little idea what I'm talking about at this stage, so feel free to point out any incorrect assumptions or term usages. Anything I can learn on the subject is really useful to me. Thank you.
Network programming is a very tricky thing to do right.Some network methods are blocked by routers, and you have to come up with methods of Dead-Reckoning and efficient Data Transportation. (Like updating the major things in a millisecond but small things in a couple seconds).To make a Master Server, or Lobby server is a great idea and you do not need to learn PHP/mySQL to achieve it. Mainly you could just go ahead and create a seperate socket server for which the dedicated servers can register on.Keep in mind that the lobby server has to be powerful. (I wonder how powerful soldat's lobby server is?)