Twisted Server Protocol for websockets
Python
Latest commit 67335c7 Nov 18, 2011 @gleicon Merge pull request #3 from jontho/master
struct.pack format should use unsigned ints.

README

Twisted WebSockets protocol

- install with python setup.py install

- To test it open a terminal window, cd examples, run python -m SimpleHTTPServer 8888 to serve interact.html
- In another window, run python examples/interact.py and open http://localhost:8888/interact.html
- type something in the text box


The inspiration for a websocket server (and the test html) came from Joe Armstrong.

Check interact.py to learn how to setup a basic operations class and pass it to the protocol factory.

Gleicon Moraes