asyncore problem

Steve Holden sholden at holdenweb.com
Sat Aug 3 10:17:09 EDT 2002


Adonis:

I spent some time updating the asyncode documentation (and adding docs for
asynchat) in the development version. If you take a look at that I'd be
interested in knowing whether the new version is any more helpful!

    http://www.python.org/dev/doc/devel/lib/module-asyncore.html

regards
-----------------------------------------------------------------------
Steve Holden                                 http://www.holdenweb.com/
Python Web Programming                http://pydish.holdenweb.com/pwp/
-----------------------------------------------------------------------


"Thomas Jensen" <spam at ob_scure.dk> wrote in message
news:3D4B10B6.7070200 at ob_scure.dk...
> 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