[Twisted-Python] Server/Client

Delgado, Edgardo CIV NAVAIR 4.1.4.3 edgardo.delgado at navy.mil
Wed Jun 27 12:16:17 MDT 2007


OK, I got the portforwarding stuff done using protocols.portforward.
But this is good for 1:1 relationship, i.e. listen on one port and
forwarding to another.
What I need is a 1:many relationship, i.e. listen on one port and
forwarding to many ports.

Edgar 

-----Original Message-----
From: twisted-python-bounces at twistedmatrix.com
[mailto:twisted-python-bounces at twistedmatrix.com] On Behalf Of Delgado,
Edgardo CIV NAVAIR 4.1.4.3
Sent: Wednesday, June 20, 2007 10:16 AM
To: twisted-python at twistedmatrix.com
Subject: [Twisted-Python] Server/Client

I would like to build a server that when it gets a message on a specific
port it will "forward" that message to another port.
I.e. "Server1" listens on port 10000. When it gets data on port 10000 it
will forward the data to "Server2" listening on port 15000.

Edgar


_______________________________________________
Twisted-Python mailing list
Twisted-Python at twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python




More information about the Twisted-Python mailing list