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

Xu Ryan xuryans at gmail.com
Wed Nov 30 21:35:56 EST 2005

Thank you, but ClientCreator is seems just send message for once?? My
app need connect with auth info, then send a command and request the
return value. Can i use ClientCreator?

On 11/30/05, Andrew Bennetts <andrew-twisted at puzzling.org> wrote:
> 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.
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Xu Ryans

More information about the Twisted-Python mailing list