[Twisted-Python] Perspective broker and pipes

Ed Suominen general at eepatents.com
Wed Oct 31 09:55:18 EDT 2007


The processworker module of my AsynQueue package spawns a process and
makes a PB connection with it via stdin/stdout. Perhaps you could adapt
it for your purposes.

http://foss.eepatents.com/trac/AsynQueue/browser/projects/AsynQueue/trunk/asynqueue/processworker.py

Best regards, Ed

Nitro wrote:
> Hello,
> 
> I wrote a pb application which also uses udp sockets. It works nicely. Now
> there's the situation where client and server are both located on the same
> machine. This means I could just connect to localhost and everything
> works. Unfortunately some firewalls warn about connections. I want to
> avoid this.
> So I thought about replacing the transports in pb with pipes instead of
> sockets if the server and client are both on the same machine. I'd have to
> do the same for my custom udp solution. Doing it for my custom udp code is
> easy, but how do I do this with pb?
> Do I just have to create some kind of reactor.createPipe() thing or is
> there more to it?
> 
> Thanks for your help,
> -Matthias
> 
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
> 
> 
> 




More information about the Twisted-Python mailing list