Skip to content

Instantly share code, notes, and snippets.

View rustyrazorblade's full-sized avatar

Jon Haddad rustyrazorblade

View GitHub Profile
@rustyrazorblade
rustyrazorblade / echoserver.py
Created February 7, 2012 22:22
tornado 2.1 echo server
#!/usr/bin/env python
#coding:utf-8
import sys, os, re
import logging
from tornado.ioloop import IOLoop
from tornado.iostream import IOStream
from tornado.netutil import TCPServer