Ok, better question. Are these two equivalent:
def run_server(socket):
...
1)
thread = Thread(target=run_server, args=(server,))
#thread.setDaemon(True)
thread.start()
2)
server.listen(1)
thread.start_new_thread(run_server,(server,))
So that I can uncomment the setDaemon() method?
chrs
j.
_______________________________________________
Tutor maillist - [email protected]
http://mail.python.org/mailman/listinfo/tutor
