node.js
node.js
node.js vs php
Event driven, single threaded
Web Sockets
Web Sockets API (for browsers)
ws (a WebSockets library for node.js)
WebSockets Client Receiving JSON
Examples
echo.zip
, look at the code and see what happens if you send the 'delay' message. The single thread is stuck!
pixelboard.zip
Reference
List of TCP and UDP port numbers