Giter VIP home page Giter VIP logo

ao_terminal's Introduction

What is it?

Server.py runs a TCP server to send the Answer to the Question. 'screenshot of the terminal'

How to use

python server.py --port 7653

you can enter exit to quit the server

For use on a network with differenet machines:

  • find out the ip of the machine running the server
  • run the client on the other machine with the ip of the server
  • run the server with the ip of the server with the --host flag

Flags

  • --host : to specify the host to listen on (default: localhost) python server.py --host localhost --port 7653
  • --port : to specify the port to listen on (default: 7654) python server.py --port 7653
  • --debug : to enable debug mode (default: False) python server.py --debug true
  • --prefix : to specify the answer prefix (default: "➜ ") / can be anystring python server.py --prefix "zum beispiel!: "

Server_double

Server_double.py runs a TCP server for 2 different ports for both Touchdesigner(td) and the Python Script(py).

By default:

  • --port-td port is 7653
  • --port-py port is 7654
python server_double.py --host 192.168.1.69 --port-td 7653 --port-py 7654

parser.add_argument('--port-td', type=int, dest='porttd', default='7654')

parser.add_argument('--port-py', type=int, dest='portpy', default='7655')

ao_terminal's People

Stargazers

Helin Ulas avatar

Watchers

Célestin avatar

Forkers

helinulas

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.