Giter Club home page Giter Club logo

goo's Introduction

goo

An all-in-one set of nat-traversal utilities written in Typescript.

How to execute the benchmarks

First of all you need to compile the project running tsc in the main folder. Then you need to launch Server.js, Peer.js and Client.js (in the dist/test/benchmarks folder) on three differents machines residing behind three different NATs (Note: Server.js still needs to execute on a public IP). The scripts will accept the following parameters:

Server.js

  • host: the host on which listen (default: 0.0.0.0)
  • port: the port on which listen (default: 4321)
node Server.js --port=9999

Peer.js

  • host: the rendezvous-server ip
  • port: the rendezvous-server port
  • name: the name to assign to the peer
  • output: the absolute output path to save the payload to
node Peer.js --host=signal.goo.com --port=9999 --output=/usr/local/test.mov

Client.js

  • host: the rendezvous-server ip
  • port: the rendezvous-server port
  • name: the name to assign to the peer
  • payload: the absolute path to payload to be sent
node Client.js --host=signal.goo.com --port=9999 --payload=/usr/local/test.mov

Important note

Please note that this is still experimental. Do not use in a real environment.

goo's People

Stargazers

 avatar

Watchers

James Cloos avatar Marco Moschettini avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.