[Twisted-Python] Re: how to have a server talk to a server

Eric Mangold teratorn at world-net.net
Thu Apr 22 11:38:55 MDT 2004


On Thu, 22 Apr 2004 10:46:30 -0500, john nielsen <jn at who.net> wrote:

> I see some examples where you have  a client call pb.PBClientFactory to 
> talk to a server which called pb.PBServerFactory.
>
> What if you have 2 servers (both running pb.PBServerFactory) that accept 
> clients and also want to talk to each other? Would the first server  
> also make a pb.PBClientFactory to talk to the second server

Yes.

> (seems like you would have to be careful to not leak descriptors since 
> the reactor would never close).

Not sure what you mean by that.

	-Eric






More information about the Twisted-Python mailing list