title: Why socket.io won't connect?
body: <p>To my understanding socket.io is based on HTTP which is a standard protocol. I have my c code for HTTP server and when I type in a browser "localhost:8080" the server is working.
  But when I call </p>
  
  <pre><code>var socket = new io.Socket('http://localhost', {port: 8080 }); 
  socket.connect();
  </code></pre>
  
  <p>The c code doesn't pass the </p>
  
  <pre><code>accept (sock,&amp;addr,&amp;addrlen);
  </code></pre>
  
  <p>Please Advice.10xs,Nir</p>