Launching Multiple Servers
user at domain.invalid
user at domain.invalid
Thu May 22 07:10:58 EDT 2003
Andrew Bennetts wrote:
> Regardless, I think Twisted is worth investing a little time into. The
> essentials for writing servers are here:
> http://twistedmatrix.com/documents/howto/servers
>
> That doc doesn't mention this, but listening on multiple ports is easy; you
> can simply do:
>
> reactor.listenTCP(10001, factory1)
> reactor.listenTCP(10002, factory2)
> # etc...
>
> You can even use the same factory on multiple ports.
>
> Feel free to ask for help on twisted-python at twistedmatrix.com, or on
> #twisted on irc.freenode.net -- there's usually someone around who's happy
> to help.
>
> -Andrew.
Thank you very much Andrew, now i'm sure i'll have some help
i will investigate more
regards
Salvatore
More information about the Python-list
mailing list