add event names

This commit is contained in:
clowwindy 2014-06-01 16:21:33 +08:00
parent c721a1c02f
commit f49d086d6a
3 changed files with 60 additions and 27 deletions

View file

@ -22,7 +22,6 @@
# SOFTWARE.
import sys
import socket
import os
import logging
import encrypt
@ -50,6 +49,7 @@ def main():
logging.info("starting local at %s:%d" %
(config['local_address'], config['local_port']))
# TODO combine the two threads into one loop on a single thread
udprelay.UDPRelay(config, True).start()
tcprelay.TCPRelay(config, True).start()
while sys.stdin.read():