[Twisted-Python] Use of twisted as web app core

Tommi Virtanen tv at twistedmatrix.com
Fri Feb 11 11:11:53 EST 2005


Ben.Young at risk.sungard.com wrote:
> fastcgi communicates by using the stdio stream as a socket. Is there a way 
> in twisted of treating a fd number as is it were a socket?

twisted.internet.stdio

> Has anyone used spread with twisted? I think you can use select to see if 
> there is a message waiting, but then you have to use the spread api to 
> actually access the message.

That is unlikely to work, unless spread actually does non-blocking reads
and is happy to receive messages in multiple reads.




More information about the Twisted-Python mailing list