[Twisted-Python] Flow control

Itamar Turner-Trauring itamar at itamarst.org
Thu Aug 11 17:17:46 EDT 2011


> However, isn't there a simpler way (without application level flow
> control)?
>
> In the end, the sender TCP stack must have knowledge of it's window size
> ..
> is there a way to get at that info?
>
> What is the recommended way?

Transports provide the IConsumer interface, to which you can hook up a
producer:
http://twistedmatrix.com/documents/current/core/howto/producers.html




More information about the Twisted-Python mailing list