maddiem4 / rex Goto Github PK
View Code? Open in Web Editor NEWA reusable P2P rendezvous service made of a raw TCP component and an HTTP hosting component.
A reusable P2P rendezvous service made of a raw TCP component and an HTTP hosting component.
Dependencies: * Python 2.6+ * PyCrypto * BottlePy * Gevent Client dependencies: * Python 2.6+ * Gevent Rex is an experimental protocol for simplifying a few under-the-hood steps of P2P hole punching. It works by providing a service to maintain a TCP socket to the server on port 7653 which the server keeps alive for you (as long as your TCP stack keeps responding with ACK packets, which you don't have to worry about at the application level except that the server will drop you if the connection is lost). Then, you can use the HTTP hosting part of the service to host a URL that contains your public and local IP addresses (and optionally, an RSA signature of them) to pass around to friends who want to connect to you. The simultaneous connection code is still up to you. The Rex server provides only the "REndezvous Exchange" part of the stuff; you still have to let the other person know by some means to try to connect to you while you try to connect to him. Client code for this is coming soon as a reference that will demonstrate connecting to a remote computer by a URL. Documentation of the Rex protocol, in both its components, is available here: https://docs.google.com/document/pub?id=14Us-En_y8-MPRDgja5Obq7XoLBYCyaziPQaW-1vleg0
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.