I have been dabling in some Twisted and I've come across a problem. I'm implementing a couple servers that can be connected to using telnet localhost x
My code handles it like this:
reactor.listenTCP(12001, server1, ....)
reactor.listenTCP(12002, server2, ....)
etc.
These then use my factory to build a protocol
I'm wondering how I can get these servers to interact with each other. For example, let's say a client sends a request to update a value common across each server and I want to relay this value to the other servers to update their current value. I looked into reactor.connectTCP
but this doesn't seem to do what I want. Is there a way to connect to my servers without using the telnet command?