python - How to trigger a write event? -


i know there 'writable' interface indicate there data written. once asyncore loop enters sleep, when no data write, there no chance wake till timeout.

this means data can't sent in real time.

i tried change 'writable' method return true, resulted in high cpu usage.

isn't there solution trigger write event in real time?

btw: i'm using python 2.4.3


Comments

Popular posts from this blog

c++ - protocol buffers - generate NON-inline accessors -

c# - issue attaching/adding an entity object which is detached from the DB Context? -