Threads and socketservers... (xmlrpc)

Chris Liechti cliechti at gmx.net
Fri May 3 17:58:21 EDT 2002


mlh at vier.idi.ntnu.no (Magnus Lie Hetland) wrote in 
news:slrnad60to.qvq.mlh at vier.idi.ntnu.no:
   s = xmlrpclib.Server(...)
>   t = threading.Thread(taget=s.serve_forever)
>   t.setDaemon(1)
>   t.run()

usualy that last line should be:
"t.start()"

>   # Program blocks here...

chris

-- 
Chris <cliechti at gmx.net>




More information about the Python-list mailing list