comparison contrib/tor2dns/serve @ 775:5c86c4e82b4c draft

updated my software to resdb
author d3v11 <d3v11@d3v11.ano>
date Fri, 25 Nov 2011 23:21:28 +0000
parents
children
comparison
equal deleted inserted replaced
774:5cb0c795b9e6 775:5c86c4e82b4c
1 #!/usr/bin/python
2 import SimpleHTTPServer
3 import SocketServer
4
5 PORT = 8053
6
7 Handler = SimpleHTTPServer.SimpleHTTPRequestHandler
8 httpd = SocketServer.TCPServer(("", PORT), Handler)
9 httpd.serve_forever()