title: Create PHP P2P game client tracker
body: <p>At the moment I'm looking into creating a networked game using P2P. The game is not that high paced and I don't have access to a dedicated server, so P2P seems like a good choice to me. I do have access to a online domain. Programming is done in C++.</p>
  
  <p>Oblivious to the perils of Game Networking I thought P2P did not need ANY sort of centralized server communication. Then I thought 'but how on earth can I find other game users hosting a game without knowing their IP?'. My thought now is that I need some kind of central 'hub' to which the game can connect to get a list of available peer hosts with their IP and port. It will then connect to that host and send data using UDP (I know it's connectionless, but it seems ENet has some tricks for that). If my idea is completely absurd, then let me know.</p>
  
  <p>I had the idea to make a very simple PHP client-IP-switch-thingy on my online domain. The game won't attract more then 2 to 3 people because it's just for my personal learning goals so the load on that domain won't be too much of an issue, I think. Problem is that I can't really find any usable information on making anything of the sort using PHP. I tried to look through the 'similar questions' bit of SO, but I still can't find a lot of info.</p>
  
  <p><b>My question to you is: how can I create a PHP game client/host tracker, if possible at all? Do you know any good websites or articles on this?</b></p>
  
  <p>On a side note, I'm looking to use a combination of ENet and SFML, ENet for a reliable UDP packet and SFML for the packet builder. Is that a viable choice?</p>