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
Post a Comment