Skip to content

Networking with Doppio

Braden McDorman edited this page Aug 27, 2013 · 6 revisions

Doppio will soon support client-side networking. This allows you to run any TCP client in the browser and transparently communicate with a local or remote TCP server.

In this document, we'll go over the basics of networking with Doppio.

You will need the following things:

  • websockify
  • Doppio
  • A TCP-based server to communicate with

Our communication graph looks something like this:

Communication Chart

Start websockify like so: sudo python websockify.py [websocket_port] [host]:[original_port]. Use websockify's websocket_port and hostname when connecting to a TCP server.

Remember, websockify does not need to be running on the same computer as the server.

Congratulations, you should now be able to run any TCP client on Doppio and connect to the TCP server.

Notes

  • IPv6 is currently unsupported. Domain names and IPv4 addresses are, however.
Clone this wiki locally