Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (17 sloc) 436 Bytes
<html>
<head>
<title>It worked</title>
<script src="/socket.io/socket.io.js" type="text/javascript"></script>
<script type="text/javascript">
window.onload = function () {
var socket = new io.connect('http://' + window.location.hostname);
socket.on('message', function(msg){
alert("PCTRL " + msg); //This is caught by PhantomJS's onAlert
});
window.socket = socket;
};
</script>
</head>
<body>
</body>
</html>
Something went wrong with that request. Please try again.