Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A very stupid websocket tcp proxy (using websockets with unmodified TCP servers)
Python JavaScript
branch: master

typo

latest commit 1f1cd4c185
@iuridiniz authored

README.rst

Stupid WebSocket TCP Proxy (SWTP)

Description

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.

Requirements

Software pre-requisites:

  • python
  • twisted

Quick start

Linux:

$ cp config.ini.sample config.ini
$ twistd -n -y swtp.tac
$ xdg-open http://localhost:9091/examples/

Configuring

See config.ini.sample

Available Protocols

Stomp:
Provided by http://jmesnil.net/stomp-websocket/doc/

Writing a new protocol

TODO

Something went wrong with that request. Please try again.