[Twisted-Python] listenTCP in a TAC

Donal McMullan donal.mcmullan at gmail.com
Tue May 11 09:12:19 EDT 2010


On 12 May 2010 01:02, Itamar Turner-Trauring <itamar at itamarst.org> wrote:
> On Wed, 2010-05-12 at 00:17 +1200, Donal McMullan wrote:
>
>> I don't really grok the TAC thing yet, or why there's a different
>> method for spawning servers within an Application. Is my listenTCP
>> approach bad practice for some reason that's not apparent to me?
>
> Services are things that can be started and stopped, that's all.
> Typically you'd write your own custom logic here, but Twisted also
> provides wrappers around listenTCP and friends to make them look like
> Services. You don't have to use them if you don't want to.

Great - thanks Itamar!



More information about the Twisted-Python mailing list