view contrib/tor2dns/serve @ 1039:0e3f482dc1c3 draft

Added PieNet
author AnoPie <nobody@nowhere>
date Mon, 15 Oct 2012 06:41:00 +0000
parents 5c86c4e82b4c
children
line wrap: on
line source

#!/usr/bin/python
import SimpleHTTPServer
import SocketServer

PORT = 8053

Handler = SimpleHTTPServer.SimpleHTTPRequestHandler
httpd = SocketServer.TCPServer(("", PORT), Handler)
httpd.serve_forever()