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
from twisted.internet.endpoints import TCP4ServerEndpoint | |
from twisted.internet.error import CannotListenError | |
from twisted.internet.protocol import Protocol, Factory | |
from twisted.internet import reactor | |
import simplejson as json | |
# Ports available for proxy purposes. | |
low_port = 5000 | |
high_port = 5100 |
NewerOlder