A very stupid WebSocket server in order to proxy TCP connections (using websockets with unmodified TCP servers).
Don’t reinvent the wheel, use your existing tcp servers with this STUPID proxy.
It exposes an existing service over WebSocket, so a javascript application can communicate with desired service. It's necessary to use some implentation of the service protocol over WebSocket.
Software pre-requisites:
- python
- twisted
Linux:
$ cp config.ini.sample config.ini $ twistd -n -y swtp.tac $ xdg-open http://localhost:9091/examples/
See config.ini.sample
- Stomp:
- Provided by http://jmesnil.net/stomp-websocket/doc/
TODO