1
我有兩臺服務器:如何溝通服務?
application = service.Application("APP")
factory_a = MyFactory()
service_1 = internet.TCPServer(LPORT_1, factory_a)
service_1.setServiceParent(application)
factory_b = MyOtherFactory()
service_2 = internet.TCPServer(LPORT_2, factory_b)
service_2.setServiceParent(application)
現在如何發送從SERVICE_1收到service_2數據? service_2僅作爲從服務接收到的數據的回顯服務器_1