Help with Asyncore

Seth Nielson sethjn at gmail.com
Fri Jul 29 15:57:50 EDT 2005


Hello,

I am using Asyncore.dispatcher around a socket (well call the wrapped
version a channel). This channel is passed around to other objects.
These objects call "send" on the channel.

My question is, what do you do for "writable" and "handle_write"?
Those seemed designed for channel-internal buffers. Should I also
overwrite "send" and have the data appended to a buffer? If not, how
should writable and handle_write be implemented? I'm not sure what to
do here...

Thank you in advance,

-- Seth Nielson



More information about the Python-list mailing list