An open API service indexing awesome lists of open source software.

https://github.com/chewxy/sypyoct2012

Examples for SyPy October 2012
https://github.com/chewxy/sypyoct2012

Last synced: 3 months ago
JSON representation

Examples for SyPy October 2012

Awesome Lists containing this project

README

        

SyPyOct2012
===========

Examples for SyPy October 2012

I have provided two examples: `simple.py` and `push-to-talk.py`

## simple.py ##

To use simple.py is simple:

* If you want to connect: `./simple.py

`
* If you want to host: `./simple.py --host
`
* `
` is in this format: `PROTOCOL://ADDRESS:PORT`
* Try these for fun and profit:
* ipc://interprocess.socket
* tcp://*:1234

The nature of zmq is that it doesn't matter the order of connecting and hosting. It just works ^_^

## push-to-talk.py ##

Push to talk is a walkie talkie simulator I built because I was working on an older test machine and I didn't want to login to my email to send myself a link.

To use:

* If you want to connect: `./push-to-talk.py `
* If you want to host: `./push-to-talk.py `
* Press Ctrl+C if you want to send something to the other machine.
* This is most fun if you do it on multiple physical machines on multiple different OSes
* Or if you are boring you can just fire up two terminals and talk to yourself as if you're FOREVER APHONE.