Threads and socketservers... (xmlrpc)
Magnus Lie Hetland
mlh at vier.idi.ntnu.no
Fri May 3 20:23:25 EDT 2002
In article <Xns9203F422F1A27cliechtigmxnet at 62.2.16.82>, Chris Liechti wrote:
>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()"
<blush>
--
Magnus Lie Hetland The Anygui Project
http://hetland.org http://anygui.org
More information about the Python-list
mailing list