Server/database interaction in C++ using sockets
Well, I'm working on the multiplayer part of my game now, and I've gotten the server to the point that it will accept connections and receive and send data from and to the client. It seems that the next logical step would be to access a database and withdraw information so that I can make a login screen that works 
How would I go about searching a database from a server and getting the information that I want? I'm pretty good at PHP, so I know most of the general information about connecting to a database and withdrawing information from it (I always used MySQL databases).
The server is written in C++ and uses the WinSock library, but the client is made for Windows and the Mac (or will be made for the mac, I'm still working on that...)
Any links or help would be appreciated
Thanks,
-wyrmmage

How would I go about searching a database from a server and getting the information that I want? I'm pretty good at PHP, so I know most of the general information about connecting to a database and withdrawing information from it (I always used MySQL databases).
The server is written in C++ and uses the WinSock library, but the client is made for Windows and the Mac (or will be made for the mac, I'm still working on that...)
Any links or help would be appreciated

Thanks,
-wyrmmage
Worlds at War (Current Project) - http://www.awkward-games.com/forum/
If you're using a MySQL database, you'll be using the MySQL API to connect to your database and send queries. I'd suggest reading their documentation.
Thank you
I've found it and am experimenting on using MySQL++
-wyrmmage
I've found it and am experimenting on using MySQL++-wyrmmage
Worlds at War (Current Project) - http://www.awkward-games.com/forum/
Possibly Related Threads...
| Thread: | Author | Replies: | Views: | Last Post | |
| CrystalEngine server solution for any game project | Aldex | 0 | 2,948 |
Sep 1, 2011 01:45 AM Last Post: Aldex |
|
| P2P or Client/Server? | TokyoDan | 2 | 4,238 |
Aug 3, 2009 06:15 AM Last Post: georgiph |
|
| Connect to Server from Iphone | BugSniper | 6 | 8,165 |
Jul 15, 2009 04:57 PM Last Post: BugSniper |
|
| Cocoa/Objective-C and TCP Sockets... | TimMcD | 2 | 5,366 |
Jun 13, 2009 06:15 PM Last Post: TimMcD |
|
| Server architecture advice needed :) | wyrmmage | 2 | 4,264 |
Jan 25, 2007 10:57 AM Last Post: wyrmmage |
|

