QUESTION: Let's say I want to create a TOP10-killers-of-the-game chart on a website.
The game should load the chart from the site and if the player has done a great score should update the data onto the site.
What is the best way (or the most common) to do something like this in C++?
send data on a website?
Or run a daemon of your own on the server that runs an HTTP server with access to the game database. Have your game server send updates to the daemon, which then updates the database. When people visit the site, the HTTP server generates dynamic pages from the database.
Obviously you could avoid having the extra daemon and run your game server and the HTTP server on the same computer.
Obviously you could avoid having the extra daemon and run your game server and the HTTP server on the same computer.
Yes, I was thinking exactly about that, JPulham: a master server for a p2p game, so that I could also use the free web hosting offered by someone else's servers.
I have a question for you (or anyone else with a similar project):
If you use the "server" to store peers addresses, does it also works for people behind a NAT ?
If so (even if not), can you put the code you use to get the address?
(Personally I am using Raknet for networking)
Sorry for the much specific and off-topic questions, feel free not to answer me.
I have a question for you (or anyone else with a similar project):
If you use the "server" to store peers addresses, does it also works for people behind a NAT ?
If so (even if not), can you put the code you use to get the address?
(Personally I am using Raknet for networking)
Sorry for the much specific and off-topic questions, feel free not to answer me.