I've done a lot of multiplayer gaming work over the years (worked at EA on MMOs and such). To be honest, even using PHP or the like would be an extremely poor solution. The only "right" solution is to use a direct socket connection - though using a central HTTP server for enumerating the client list wouldn't be horrible. You could ping the server for a client list and then create a P2P connection between the relevant clients, assuming you're talking about a selectively multiplayer game and not a MMO. I haven't looked into the SDK's socket capabilities too much, but I'm guessing you'll have to do a little work to get them to do what you want. Still, socket programming is not rocket science - 300 series CSCI courses teach exactly what you're looking for.
|