Thanks a lot for your answer.
 
regards,

--- En date de : Mar 7.9.10, [email protected] 
<[email protected]> a écrit :


De: [email protected] <[email protected]>
Objet: Re: [Twisted-Python] connection to many servers
À: "Twisted general discussion" <[email protected]>
Date: Mardi 7 septembre 2010, 14h52


On 09:40 am, [email protected] 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.

Jean-Paul


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


_______________________________________________
Twisted-Python mailing list
[email protected]
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python



      
_______________________________________________
Twisted-Python mailing list
[email protected]
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Reply via email to