asyncore/asynchat
Jeremy Fincher
tweedgeezer at hotmail.com
Mon Nov 17 13:12:36 EST 2003
"F.G.Testa" <testa at allos.sytes.net> wrote in message news:<mailman.794.1069075944.702.python-list at python.org>...
> But how do you keep it updated since we don't receive any notifications of
> closing/removing channels from asyncore/asynchat?
> I've found this: asyncore.socket_map (asyncore.py:62). It is a map of your
> inherited asynchat class and I'm using it to search for a specific channel
> and send data to it, but having my own dictionary would be more elegant, I
> think.
For my purposes I didn't need to keep it updated. Why why do you need
access to such a dictionary? Is the channel itself unable to decide
when it needs to send information?
Jeremy
More information about the Python-list
mailing list