Simon Willison’s Weblog

Subscribe

What are the differences between node.js and websockets?

1st October 2012

My answer to What are the differences between node.js and websockets? on Quora

This is like asking “what’s the difference between PHP and HTTP”. Node.js is a technology framework you write code in. WebSockets is a protocol which can be implemented using a technology framework. You can use Node.js to implement the server-side aspect of WebSockets.