When referring to this post here:
http://net.tutsplus.com/tutorials/javascript-ajax/start-using-html5-websockets-today/
it tells you to run php -q path\\to\\
Not tested, but I would say it is the same...
There is a "php.exe" in your wamp/php folder...
Run it through commandline :
cd mywamp/php php -q file.php