[Twisted-Python] How can a tcp client connect with multi servers?

Andrew Bennetts andrew-twisted at puzzling.org
Wed Nov 30 04:36:37 MST 2005


On Wed, Nov 30, 2005 at 03:19:45PM +0800, Xu Ryan wrote:
> Here is the situation: a tcp control client need connect to
> multi-agent. Is there a light way to connect with server , instead
> make a factory to do each connect?

ClientCreator is a simpler way to make connections.  See the "Simple, single-use
clients" section of the Writing Clients developer guide:

    http://twistedmatrix.com/projects/core/documentation/howto/clients.html#auto2

-Andrew.





More information about the Twisted-Python mailing list