Sept. 12, 2014
6:26 p.m.
Hi, I have the codes below and I would like to know how is it possible to send out data which came to "a" instance from "b" i mean data to port 2000 go out from port "2001" !? class fact(DatagramProtocol): def datagramReceived(self, datagram, addr): self.transport.write( datagram, some_where ) a = reactor.listenUDP(2001, fact()) b = reactor.listenUDP(2002, fact())