shazow / node.websocket.js

WebSocket-compatible realtime HTTP server implemented with Node.JS

Home Page:http://devthought.com/blog/2009/12/nodejs-and-the-websocket-protocol/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

node.websocket.js

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.

Requirements

How to use

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!

Author

Andrey Petrov <http://github.com/shazow>

Library inspired by: Guillermo Rauch <http://devthought.com>

About

WebSocket-compatible realtime HTTP server implemented with Node.JS

http://devthought.com/blog/2009/12/nodejs-and-the-websocket-protocol/


Languages

Language:JavaScript 100.0%