Skip to content

How do I serve the client

hydroxic-acid edited this page Jun 29, 2011 · 6 revisions

The client is served automatically by the Node.JS server. In your <head> tag of your HTML, include:

<script src="http:<uri:port>/socket.io/socket.io.js"></script>

If your web app and socket.io are on the server server and port, you can simply include:

<script src="/socket.io/socket.io.js"></script>

Clone this wiki locally