[Twisted-Python] listening on several ports

Ken Kinder ken at kenkinder.com
Fri Mar 18 23:00:48 MST 2005


Sinang, Danny wrote:

> How do I make a server listen in on several ports ?
>  
> As far as I know, reactor.listenTCP() only accepts 1 port parameter.

Call reactor.listenTCP for each port you want to listen on.





More information about the Twisted-Python mailing list