Important note! The websocket protocol has changed since I wrote this. Transflector is no longer useful --- don't waste your time. I'm keeping this for historical interest.
Transflector is a simple proxy that allows you to set up a bridge between a WebSocket listener and a traditional socket service. Once the user establishes the WebSocket connection, Transflector will translate data bidirectionally between the raw socket stream and WebSocket frames.
Transflector is a single very simple C++ file, making it small and efficient. It's intended to run as an inetd service.
transflector-0.1.1.tar.bz2 4 kB
The source code for Transflector. You'll need a Unixish to compile (and use) this.