Skip to content

Instantly share code, notes, and snippets.

@metachris
metachris / tcpclient.py
Last active July 2, 2020 07:46
Tornado TCP Client (Simple)
import errno
import socket
from threading import Thread
from tornado import ioloop
class IOLoopThread(Thread):
def __init__(self):
Thread.__init__(self)
self.running = True