[Twisted-Python] The opposite function of reactor.listenTCP()

hz hanks hankshz at gmail.com
Fri Mar 30 19:43:53 EDT 2012

Hi All,

I have a server listen to two ports and run as follows:

       reactor.listenTCP(PORT1, file_trans_service.getFileTransCtrlServFactory()
       reactor.listenTCP(PORT2, file_trans_service.getFileTransCtrlServFactory()

Now I want to close the function of PORT1, but I just don't find the
opposite function of reactor.listenTCP(). Anyone can give me a hand?


More information about the Twisted-Python mailing list