Suggestion:<br><br>If data reliability is not an issue, it's pretty much easier to do it using UDP (twisted.internet.protocol.DatagramProtocol). You won't need to deal with connections. <br><br>"What I need is a 1:many relationship,
i.e. listen on one port and<br>forwarding to many ports."<br><br>A UDP MulticastServer is what you need. ^_^<br><br><div><span class="gmail_quote">On 6/28/07, <b class="gmail_sendername">Delgado, Edgardo CIV NAVAIR
<a href="http://4.1.4.3">4.1.4.3</a></b> <<a href="mailto:edgardo.delgado@navy.mil">edgardo.delgado@navy.mil</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
OK, I got the portforwarding stuff done using protocols.portforward.<br>But this is good for 1:1 relationship, i.e. listen on one port and<br>forwarding to another.<br>What I need is a 1:many relationship, i.e. listen on one port and
<br>forwarding to many ports.<br><br>Edgar<br><br>-----Original Message-----<br>From: <a href="mailto:twisted-python-bounces@twistedmatrix.com">twisted-python-bounces@twistedmatrix.com</a><br>[mailto:<a href="mailto:twisted-python-bounces@twistedmatrix.com">
twisted-python-bounces@twistedmatrix.com</a>] On Behalf Of Delgado,<br>Edgardo CIV NAVAIR <a href="http://4.1.4.3">4.1.4.3</a><br>Sent: Wednesday, June 20, 2007 10:16 AM<br>To: <a href="mailto:twisted-python@twistedmatrix.com">
twisted-python@twistedmatrix.com</a><br>Subject: [Twisted-Python] Server/Client<br><br>I would like to build a server that when it gets a message on a specific<br>port it will "forward" that message to another port.
<br>I.e. "Server1" listens on port 10000. When it gets data on port 10000 it<br>will forward the data to "Server2" listening on port 15000.<br><br>Edgar<br><br><br>_______________________________________________
<br>Twisted-Python mailing list<br><a href="mailto:Twisted-Python@twistedmatrix.com">Twisted-Python@twistedmatrix.com</a><br><a href="http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python">http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
</a><br><br>_______________________________________________<br>Twisted-Python mailing list<br><a href="mailto:Twisted-Python@twistedmatrix.com">Twisted-Python@twistedmatrix.com</a><br><a href="http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python">
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python</a><br></blockquote></div><br>