[Twisted-Python] Create client in Server factory

2012-10-31 Thread Grégoire Leroy
Hi, I have a server who receive data from clients A/B/C (remote machines). I want to use a client D (on the same machine than the server) to send this data to another server (remote). The difficulty is, I want to use the same client D connection for any client. I don't want open an new connect

Re: [Twisted-Python] Create client in Server factory

2012-10-31 Thread Phil Mayers
On 10/31/2012 07:14 AM, Grégoire Leroy wrote: > Hi, > > I have a server who receive data from clients A/B/C (remote machines). I want > to use a client D (on the same machine than the server) to send this data to > another server (remote). > > The difficulty is, I want to use the same client D conn

Re: [Twisted-Python] Create client in Server factory

2012-10-31 Thread Kevin Horn
On Wed, Oct 31, 2012 at 4:49 AM, Phil Mayers wrote: > On 10/31/2012 07:14 AM, Grégoire Leroy wrote: >> Hi, >> >> I have a server who receive data from clients A/B/C (remote machines). I want >> to use a client D (on the same machine than the server) to send this data to >> another server (remote).

Re: [Twisted-Python] Create client in Server factory

2012-10-31 Thread Phil Mayers
On 10/31/2012 02:31 PM, Kevin Horn wrote: > See also: > http://twistedmatrix.com/trac/wiki/FrequentlyAskedQuestions#HowdoImakeinputononeconnectionresultinoutputonanother > > That example only uses a single connection in place of your clients > A/B/C, but should be adaptable to your situation. > I