EasyRTC Demo: User Supplied Socket.io
This variation on instant messaging uses a socket.io connection allocated by the application rather than internally. This can be useful if you have more advanced socket.io requirements.
It supports two options, connecting immediately after creating a websocket,
connecting 10 seconds after creating the websocket.
The contents of demo_instant_messaging.js: