[Twisted-Python] listening on several ports

Ken Kinder ken at kenkinder.com
Sat Mar 19 01:00:48 EST 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