fwiw, I have been trying to get find a conclusive answer to the subquestion:
Do Unix domain sockets (either stream or dgram) support flow-control? The nearest I could find is http://stackoverflow.com/questions/1478975/unix-domain-socket-is-there-such-a-thing-as-a-busy-signal/1479022 but the comments seem to contradict each other. seems I'll just try it and see what happens .. /Tobias On 21.10.13 23:33, "David Stainton" <dstainton...@gmail.com> wrote: Hi, I don't know the answer to your question... I've been thinking about flow control lately. I recently wrote a little working prototype VPN in Twisted using IPushProducer and IConsumer interfaces but I have not yet implemented flow control : Here we can see how I proxy between TUN and UDP using producers and consumers: https://github.com/david415/hushVPN/blob/master/hushVPN_service.py Perhaps later on I could add flow control... by having the consumers pause the producers when need be. For now I just churn packets as fast as possible. David On Mon, Oct 21, 2013 at 1:48 PM, Tobias Oberstein <tobias.oberst...@tavendo.de> wrote: > Hi, > > with TCP (either remote or loopback) I can have flow-control using the > producer-consumer machinery that Twisted provides. > > Is that (flow-control / producer-consumer) also available (and practically > usable/recommended) with: > > a) Unix Domain sockets > b) Pipes (spawnProcess) > > ? > > Thanks! > /Tobias > > _______________________________________________ > Twisted-Python mailing list > Twisted-Python@twistedmatrix.com > http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python > _______________________________________________ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
_______________________________________________ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python