<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><DIV>Thanks a lot for your answer.</DIV>
<DIV>&nbsp;</DIV>
<DIV>regards,</DIV>
<DIV><BR><BR>--- En date de&nbsp;: <B>Mar 7.9.10, exarkun@twistedmatrix.com <I>&lt;exarkun@twistedmatrix.com&gt;</I></B> a écrit&nbsp;:<BR></DIV>
<BLOCKQUOTE style="BORDER-LEFT: rgb(16,16,255) 2px solid; PADDING-LEFT: 5px; MARGIN-LEFT: 5px"><BR>De: exarkun@twistedmatrix.com &lt;exarkun@twistedmatrix.com&gt;<BR>Objet: Re: [Twisted-Python] connection to many servers<BR>À: "Twisted general discussion" &lt;twisted-python@twistedmatrix.com&gt;<BR>Date: Mardi 7 septembre 2010, 14h52<BR><BR>
<DIV class=plainMail>On 09:40 am, <A href="http://fr.mc244.mail.yahoo.com/mc/compose?to=dbcourriel-4all@yahoo.fr" ymailto="mailto:dbcourriel-4all@yahoo.fr">dbcourriel-4all@yahoo.fr</A> wrote:<BR>&gt; <BR>&gt; Hi, i need to connect to many servers<BR>&gt; so i've found an&nbsp;example that&nbsp;shows how to connect to many servers&nbsp;see the source below.<BR>&gt; 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<BR><BR>The protocol instance is that object.&nbsp; In your case, the ClntProtocol (I hope that you profited well by omitting "ie" from that name).<BR><BR>If you want to keep track of multiple connections, I suggest a list or dictionary.<BR><BR>Jean-Paul<BR><BR></DIV><BR>-----La pièce jointe associée suit-----<BR><BR>
<DIV class=plainMail>_______________________________________________<BR>Twisted-Python mailing list<BR><A href="http://fr.mc244.mail.yahoo.com/mc/compose?to=Twisted-Python@twistedmatrix.com" ymailto="mailto:Twisted-Python@twistedmatrix.com">Twisted-Python@twistedmatrix.com</A><BR><A href="http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python" target=_blank>http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python</A><BR></DIV></BLOCKQUOTE></td></tr></table><br>