This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
`# This is simple bridge between PTY and TCP endpoint | |
# You can run it by executing following step in 3 terminals: | |
# 1. nc -l 8080 | |
# 2. python simpleclient.py | |
# 3. minicom -p /dev/pts/3 | |
from __future__ import print_function | |
from twisted.internet import reactor, protocol, inotify, fdesc | |
from twisted.python.util import println |