asyncore problem

Thomas Jensen spam at ob_scure.dk
Sat Aug 3 01:07:34 CEST 2002


Adonis wrote:
> im just sinking my teeth into the asyncore module and have followed the
> documentation closely and have googled around to no avail, and have been
> unable to get it working. no errors are raised, nothing at that, and the
> events are not being triggered, am i missing something in my code?

[snip]

You need to call the loop function of the asyncore module, ie.
    asyncore.loop()
Otherwise the socket events will not be processed.

-- 
Best Regards
Thomas Jensen
(remove underscore in email address to mail me)




More information about the Python-list mailing list