title: PHP Communication with C++ Application
body: <p>I have been searching Google for a while, but the problem I am running into is I am not exactly sure what it is I need to be searching for. (Searching for PHP C++ communication doesn't seem to be what I need) I am basically developing a c++ plugin for a game server, and I would like to create a web interface that can pass/pull data to and from the C++ plugin. The game already uses an RCON port for remote administrative access, but I stumbled across a header for the Network interface they use, so I assume I could use this.</p>
  
  <p>My problem is I am not very familiar with using sockets. I assume I will basically need to open a socket in C++ and leave it listening, and then in the PHP, connect to that socket, pass the data, and close it.</p>
  
  <p>Here is the interface...
  <a href="http://www.ampaste.net/m2f6b6dbc" rel="noreferrer">http://www.ampaste.net/m2f6b6dbc</a></p>
  
  <p>I am mostly just going to be pulling information like current list of connected players, names, and scores. And passing commands to restart the server, shut it down, etc.</p>
  
  <p>Any help would be great, thanks!</p>