[Twisted-Python] help! - listenTCP failing
twisted at itamarst.org
Sun Mar 30 15:43:52 EST 2003
On 26 Mar 2003 16:32:11 +1200
David McNab <david at rebirthing.co.nz> wrote:
> I'm building an app that will need the ability to start and stop
> protocol servers dynamically.
> As part of figuring this out, I've added an ApplicationService to the
> app, and within ApplicationService.startService(), I'm calling
> self.get_application.listenTCP(portnum, myprotocol).
You probably want to do this on the reactor anyway, since these are not
"persistent" servers, as it were. That being said, this is a bug in
Twisted - I fixed it in CVS, hopefully.
Itamar Shtull-Trauring http://itamarst.org/
http://www.zoteca.com -- Python & Twisted consulting
More information about the Twisted-Python