[Twisted-Python] Forwarding Help

Jean-Paul Calderone exarkun at divmod.com
Tue Jul 3 08:57:23 EDT 2007


On Tue, 3 Jul 2007 08:08:03 -0400, "Delgado, Edgardo CIV NAVAIR 4.1.4.3" <edgardo.delgado at navy.mil> wrote:
>Greetings,
>
>Sorry to bug with this again!. I have already posted this issue, but I
>haven't received any ideas on how to solve this. So, I'm going to try
>again.
>
>I need help(ideas) on how to write a "server" that listens on one port
>and forward the info to one or more ports. I.e. "server" will listen on
>port XXXX and forward that information to ports xxAA, xxBB and xxCC.
>Can't use UDP, because it need data integrity.
>
>Thanks for all of your help!,

http://twistedmatrix.com/projects/core/documentation/examples/chatserver.py
demonstrates how you might pass data from one connection to multiple other
connections.  It works as a server only, accepting incoming connections,
rather than establishing outgoing connections, but the idea is the same.

Jean-Paul




More information about the Twisted-Python mailing list