Re: [Twisted-Python] Problem about Multithread

2012-03-18 Thread Glyph
On Mar 18, 2012, at 1:36 AM, hz hanks wrote: > Thank you so much for your instant reply. > > Sorry for my ignorance, but could you tell how to have several > reactor.connectTCP calls. From the textbook I'm reading, I just know > that I can > first call > reactor.connectTCP(sys.argv[1], int(sys.a

Re: [Twisted-Python] Problem about Multithread

2012-03-17 Thread hz hanks
Thank you so much for your instant reply. Sorry for my ignorance, but could you tell how to have several reactor.connectTCP calls. From the textbook I'm reading, I just know that I can first call reactor.connectTCP(sys.argv[1], int(sys.argv[2]), stdioProxyFactory( )) and then call reactor.run( ) D

Re: [Twisted-Python] Problem about Multithread

2012-03-17 Thread Itamar Turner-Trauring
On 03/17/2012 09:01 PM, hz hanks wrote: > Hi, All > > I just started Twisted and I've a problem when using it. I want to > write a program for both the client and the server that the client can > download something from the server. Therefore, I want every client and > server pair can use multithrea

[Twisted-Python] Problem about Multithread

2012-03-17 Thread hz hanks
Hi, All I just started Twisted and I've a problem when using it. I want to write a program for both the client and the server that the client can download something from the server. Therefore, I want every client and server pair can use multithread to download the different parts of the files at t