Re: [Twisted-Python] ClientFactory: implementing Request/Response with a persistent connection

2011-02-03 Thread Johann Borck
On 02/03/2011 02:01 AM, Wolfgang Powisch wrote: > Hello, > > I need to talk to a Line-based TCP service from a Twisted Application. > The remote server will accept requests and send a response. > > I do NOT want to open a NEW TCP-Connection for each request. Hi, you only have to avoid closing the

Re: [Twisted-Python] Using SerialPort with t.a.s.Application

2011-02-03 Thread exarkun
On 10:18 am, albert.bra...@weiermayer.com wrote: >Hi! > >On Mon, Jan 31, 2011 at 10:18:00PM -, exar...@twistedmatrix.com >wrote: >> >>I think that now the way it would make sense to add this is to add a >>serialport endpoint. This would be usable with >>twisted.internet.endpoints.serverFromEn

Re: [Twisted-Python] Using SerialPort with t.a.s.Application

2011-02-03 Thread Albert Brandl
Hi! On Mon, Jan 31, 2011 at 10:18:00PM -, exar...@twistedmatrix.com wrote: > > I think that now the way it would make sense to add this is to add a > serialport endpoint. This would be usable with > twisted.internet.endpoints.serverFromEndpoint (or clientFromEndpoint, I > can never rememb