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
- Host: GitHub
- URL: https://github.com/chewxy/sypyoct2012
- Owner: chewxy
- Created: 2012-09-30T19:08:36.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2012-10-05T01:18:12.000Z (over 12 years ago)
- Last Synced: 2025-01-31T14:47:07.629Z (5 months ago)
- Language: Python
- Size: 598 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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://*:1234The 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.