[Twisted-Python] How to make a 'router'

Itamar Turner-Trauring itamar at itamarst.org
Sun Jul 25 09:03:56 EDT 2010


On Sun, 2010-07-25 at 19:37 +0700, Didiet Noor wrote:
> Dear All,
> 
> I am new in twisted framework, and currently building a twisted app
> that will route a packet from one client to multiple servers via TCP
> connection, back and forth.
> 
> The program will work like this
> 
>                                /----> server A
> Client --> twisted routing apps ----> server B
>                                \----> server C
> 
> 
> I also wrote the server apps using twisted by using simple
> Int32StringReceiver. I haven't made this kind of application before.
> So could you guys give me pointers on how to do that?

Possibly this may help a little:
http://twistedmatrix.com/trac/wiki/FrequentlyAskedQuestions#HowdoImakeinputononeconnectionresultinoutputonanother

along with client and server howtos:
http://twistedmatrix.com/documents/current/core/howto/index.html





More information about the Twisted-Python mailing list