Possible Duplicate:
Can't find socket.io.js
Well when using socket.io you need to include the client side using
<script type="text/javascript" src="socket.io/socket.io.js"></script>
But where do I find the “socket.io.js” I need to put into the /socket.io/ folder for the clients?
https://github.com/LearnBoost/socket.io-client – more information on the best practice for serving the socket.io client js file can be found here: https://github.com/LearnBoost/Socket.IO/wiki/How-do-I-serve-the-client