You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • http.createServer creates an HTTP server, which parses the headers of the HTTP request for you, net.createServer is a plain TCP/IP one.

    To be honest, if @JumJum's code can use the built in HTTP server that's awesome, and I take back everything I said about the JS implementation :) it might actually be the best way to do it if you can use the existing HTTP server with it.

About

Avatar for Gordon @Gordon started