[Twisted-Python] listenTCP in a TAC

Itamar Turner-Trauring itamar at itamarst.org
Tue May 11 07:02:17 MDT 2010


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.





More information about the Twisted-Python mailing list