Thanks guys, It helped a lot, but still something I haven't figured out,<br>what I do is like:<br><br>reactor.connectTCP(host1, port1, factory1)<br>reactor.connectTCP(host2, port2, factory2)<br><br>using different protocols, so I can't do it the way Arnar does. <br>my confusion is how to get the *valid* protocol instance to refer, I tried factory2.buildProtocol(None) in protocol1's callback, but the instance I get has a None transport attribute.<br>I guess the instance is not the same with the one reactor.connectTCP(host2, port2, factory2) is actually using.<br><br>thanks for any help.<br><br><b><i></i></b><br><p>&#32;
      <hr size=1>Fussy? Opinionated? Impossible to please? Perfect.  <a href="http://us.rd.yahoo.com/evt=48516/*http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7 ">Join Yahoo!'s user panel</a> and lay it on us.