[Twisted-Python] how to have a server talk to a server
jn at who.net
Thu Apr 22 11:46:30 EDT 2004
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 (seems like you would have to be careful to not leak descriptors since the reactor would never close).
There's probably a standard way to do it, that I just missed.
Thanks for any help,
Sign-up for Ads Free at Mail.com
More information about the Twisted-Python