how do I listen on a socket without sucking up all the CPU time?
Paul Wright
-$Paul$- at verence.demon.co.uk
Tue Oct 3 14:48:49 EDT 2000
In article <39d97e56_4 at corp.newsfeeds.com>,
Joshua Muskovitz <josh at open.com> wrote:
>> This sounds like a job for the asyncore module.
>
>Very cool, but I'm running 1.5.2. :-(
asyncore works on 1.5.2: I've used it on the Win32 version of 1.5.2 to
write a simple fileserver. It's written entirely in Python and AFAIK
doesn't use any new features of >1.5.2 releases.
--
----- Paul Wright ------| "Nunc demum intellego," dixit Winnie ille
-paul.wright at pobox.com--| Pu. "Stultus et delusus fui," dixit "et ursus sine
http://pobox.com/~pw201 | ullo cerebro sum."
More information about the Python-list
mailing list