title: How to use SocketRocket with socket.io?
body: <p>The new iOS websocket library, <a href="https://github.com/square/SocketRocket" rel="nofollow noreferrer">SocketRocket</a>, looks really awesome, and the chat example project is really sweet. The example chat server is written in Python, of which I know none. I'm slightly familiar with socket.io on node.js and prefer to try javascript. I tried connecting the SocketRocket TestChat simulator app to the node.js(6.10) socket.io(0.8.7) but the connection was refused. (Also, I'm not a node expert either, so this may be a silly question).</p>
  
  <p>In a recent answer to an SO <a href="https://stackoverflow.com/questions/9138700/which-is-the-websocket-version-used-in-node-js">question</a>, mikelikespie said to op: "I suggest updating your stack to use the iOS WebSocket library we just released."</p>
  
  <p>What does that mean exactly? What is necessary to get the SocketRocket library to talk to a node socket.io server? Any sample code or suggestions are greatly appreciated.</p>