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++ - Creating new partition disk winapi -

Android Prevent Bluetooth Pairing Dialog -

php - joomla get content in onBeforeCompileHead function -