node.websocket.js is an event-driven implementation of the Web Socket protocol for the Evented I/O API Node.js.
Inspired by Guillermo Rauch's node.websocket.js which resulted in a complete rewrite.
- Node.js (tested with v0.1.33)
This library allows you to create your own WebSocket server and client. There is a reference implementation of each:
The server:
$ node runserver.js
The client:
$ node runclient.js
Both use the websocket.js library symmetrically. Make your own server (or client) and have fun!
Andrey Petrov <http://github.com/shazow>
Library inspired by: Guillermo Rauch <http://devthought.com>