[Twisted-Python] internet.TCPServer interface

Tsai Li Ming mailinglist at ltsai.com
Mon Aug 2 20:40:22 EDT 2004


Hi,

How do I bind the port number to a specific interface?

application = service.Application('Core')
sc = service.IServiceCollection(application)
internet.TCPServer('7001', myFactory()).setServiceParent(sc)

Liming





More information about the Twisted-Python mailing list