C++ packets into a MySQL database?
Hi folks, happy weekend :)
A few of us are doing a project and I'm after some advice.
Were providing C++ coded games for people to download and run on their own machine. The games once played are to send the score to our server.
Using Winsock, the game sends the score in the following format:
These 3 values are of variable lengths, separated by periods, in the form of a string.
We would like to run a UDP listening service on a LAMP server, but may be forced to use TCP (unsure if this makes much of a difference in relation to my query).
What I'm after is some advice on how to place the incoming data into the MySQL database.
Any help is much appreciated!