Ive created a script in php and its working fine, however its vital this script operates as quickly as possible. The script runs on a cron job in the background only.
A brief overview of the script.
Its a while loop that is polling a external host looking for a specific reply. Until it recieves the reply its looking for it will continue to keep checking until it does. When it does it calls a function to DO something. (The function is to send an xml message to the server with an instruction). There is quite a bit of competiton around and looking at my history of the saved logs, i am losing out in the part of the process where it recieves the notification its looking for then sending the xml message.
Hope that made sense :|
I was just wondering, is it possible to have this script converted to c++ and run it from my VPS (Im totally new to C++ so have no idea how id run it, etc etc)