view contrib/tor2dns/serve @ 1029:eb46a7358fd0 draft

[db/udpmsg4_chat/anonet/@/topic] update
author d3v11 <d3v11@d3v11.ano>
date Sat, 13 Oct 2012 23:36:27 +0000 (2012-10-13)
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()