how do I listen on a socket without sucking up all the CPU time?

Kragen Sitaker kragen at dnaco.net
Tue Oct 3 02:29:35 EDT 2000


In article <39d976b9_4 at corp.newsfeeds.com>,
Joshua Muskovitz <josh at open.com> wrote:
>> This sounds like a job for the select module.
>>
>> Alex.
>
>Can you be a little more specific?

This sounds like a job for the asyncore module.
-- 
<kragen at pobox.com>       Kragen Sitaker     <http://www.pobox.com/~kragen/>
Perilous to all of us are the devices of an art deeper than we ourselves
possess.
                -- Gandalf the Grey [J.R.R. Tolkien, "Lord of the Rings"]





More information about the Python-list mailing list