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

Xu Ryan xuryans at gmail.com
Thu Dec 1 03:22:03 EST 2005


Does Client Creator load protocol's "connectionMade" automatically ,
same as factory?

On 12/1/05, Andrew Bennetts <andrew-twisted at puzzling.org> wrote:
> On Thu, Dec 01, 2005 at 10:35:56AM +0800, Xu Ryan wrote:
> > 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?
>
> ClientCreator is simply an easy way to establish a single connection to a
> server.  It has nothing to do with what happens to the connection after that;
> that's what the Protocol does.
>
> I can't really give you any more specific help without more information about
> your problem.
>
> -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