[Twisted-Python] connection to many servers

dbcourriel-4all at yahoo.fr dbcourriel-4all at yahoo.fr
Tue Sep 7 12:03:03 EDT 2010

Thanks a lot for your answer.

--- En date de : Mar 7.9.10, exarkun at twistedmatrix.com <exarkun at twistedmatrix.com> a écrit :

De: exarkun at twistedmatrix.com <exarkun at twistedmatrix.com>
Objet: Re: [Twisted-Python] connection to many servers
À: "Twisted general discussion" <twisted-python at twistedmatrix.com>
Date: Mardi 7 septembre 2010, 14h52

On 09:40 am, dbcourriel-4all at yahoo.fr wrote:
> Hi, i need to connect to many servers
> so i've found an example that shows how to connect to many servers see the source below.
> But i need to get the way to retrieve each server in order to see the satus of the connection, to send to it a message. Is there an connection object with sendData action, getCxStatus for example

The protocol instance is that object.  In your case, the ClntProtocol (I hope that you profited well by omitting "ie" from that name).

If you want to keep track of multiple connections, I suggest a list or dictionary.


-----La pièce jointe associée suit-----

Twisted-Python mailing list
Twisted-Python at twistedmatrix.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://twistedmatrix.com/pipermail/twisted-python/attachments/20100907/28d2e7cb/attachment.htm 

More information about the Twisted-Python mailing list