C# Program working with PHP server
<p>Just curious about the best way to go about this. I want to make a webpage that shows the amount of time it takes to ping all the machines on my network. I want a C# program to do the pinging and report it to the webpage. I want to be able to click "Re-ping" on the webpage and the program rerun the test. What is the best way to go about this?</p>

<p>The biggest issue is how to get things from the user to the C# program.</p>

<p>I can make the program post on the server, and the server show the user, like below.</p>

<pre><code>User &lt;----&gt; PHP Host &lt;---- C# Program
</code></pre>

<p>However how could I get data to go the other way?</p>

<pre><code>PHP Host ---?--&gt;C# Program
</code></pre>

<p>Am I thinking about this all wrong?</p>

<p>I do want the pinging and other things to be handled by a C# program as it has far more complex functionality (threading, connections, etc) than a PHP host that is interpreted as it is requested.</p>

<p>Is it possible that I could let the C# program return pages to users and avoid a PHP server all-togeather?</p>

<p>Any ideas are welcomed.</p>
