> Here's some untested code:
>
> class SmartEcho(Protocol):
> implements(IProducer)
>
> def pauseProducing(self):
> self.transport.pauseProducing()
>
> def resumeProducing(self):
> self.transport.resumeProducing()
>
> def stopProducing
Hi,
I'm trying to write a simple echo server but with control flow. The program
should send back all the data it receives from a client, but if one of the
clients that are connected stop accepting the data that is sent back, my
program should tell it to stop sending data too, for preventing to run